Finally got java 7 to compile. However, I am getting an error when running eb. I have java in a strange place:
~/bsd-port/build/bsd-ppc/j2sdk-image/bin/java
Here is the terminal reply:
I modify the episodebutler file to reflect the new java location. However it doesn't seem to work:
./episodebutler
can not load libgnomevfs-2.so
The log file contains:
Mar 16, 2010 2:33:08 AM com.janoz.eb.update.Install updateOrInstall
INFO: Database at current version.
Mar 16, 2010 2:33:11 AM com.janoz.eb.Core <init>
SEVERE: Unable to start browser. Starting without it.
Mar 16, 2010 2:33:11 AM com.janoz.eb.Core doEpisodeUpdate
FINE: Fetching upcoming episodes.
Mar 16, 2010 2:33:11 AM com.janoz.eb.Core doSearchAndDownload
FINE: Starting search
Mar 16, 2010 2:33:12 AM com.janoz.eb.Core doSearchAndDownload
SEVERE: Configuration error during the setup of the NewzBinSearcher.
com.janoz.eb.ConfigurationException: Error connecting to newzbin. No username and/or password for newzbin configured.
at com.janoz.eb.config.Newzbin.deliverConfigurable(Newzbin.java:100)
at com.janoz.eb.impl.Configuration.constructSupplier(Configuration.java:107)
at com.janoz.eb.Core.doSearchAndDownload(Core.java:237)
at com.janoz.eb.Core.loop(Core.java:190)
at com.janoz.eb.Core.<init>(Core.java:91)
at com.janoz.eb.Core.main(Core.java:325)
Caused by: com.janoz.news.SearchException: No username and/or password for newzbin configured.
at com.janoz.news.impl.NewzBinConnectorImpl.validate(Unknown Source)
at com.janoz.eb.config.Newzbin.deliverConfigurable(Newzbin.java:98)
... 5 more
The java info is:
~/bsd-port/build/bsd-ppc/j2sdk-image/bin/java -version
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-root_2010_02_21_21_34-b00)
OpenJDK Zero VM (build 17.0-b09, interpreted mode)
If it helps I build it according to
http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html