Opened 8 years ago

Closed 8 years ago

#548 closed defect (invalid)

Unable to compile currency.data missing

Reported by: DISABLED Owned by:
Priority: minor Milestone: 0.8.12
Component: installer Version: 0.8.11
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Went to compile the latest version to install, and received this error. It does appear to be a java issue of some kind, not sure how to fix.

java.io.FileNotFoundException?: /usr/lib/jvm/java-6-openjdk/jre/lib/currency.data (No such file or directory)

java -version

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.9) (6b18-1.8.9-0.1~squeeze1)
OpenJDK Client VM (build 14.0-b16, mixed mode)

I re-installed openjdk java, no luck. I did also try icedtea, but no luck, so uninstalled that as well.

I then installed i2p from aptitude, and it would not run (same error).

Subtickets

Change History (3)

comment:1 Changed 8 years ago by killyourtv

I saw this about a month ago over athttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640476.

Check that all of the openjdk versions are the same.

This is what I get on Debian unstable.

$ dpkg -l 'openjdk-6*' |grep ^i
ii  openjdk-6-doc                                        6b23~pre11-1                   OpenJDK Development Kit (JDK) documentation
ii  openjdk-6-jdk                                        6b23~pre11-1                   OpenJDK Development Kit (JDK)
ii  openjdk-6-jre                                        6b23~pre11-1                   OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-6-jre-headless                               6b23~pre11-1                   OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-6-jre-lib                                    6b23~pre11-1                   OpenJDK Java runtime (architecture independent libraries)


If you install another java package, such as Icedtea, you'd need to update the alternatives to use the new package as the java command. That can be done with

update-alternatives --config java

comment:2 Changed 8 years ago by DISABLED

Thanks for the quick response

ii  openjdk-6-jdk                        6b18-1.8.9-0.1~squeeze1      OpenJDK Development Kit (JDK)
ii  openjdk-6-jre                        6b18-1.8.9-0.1~squeeze1      OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-6-jre-headless               6b18-1.8.9-0.1~squeeze1      OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-6-jre-lib                    6b18-1.8.9-0.1~squeeze1      OpenJDK Java runtime

All of the versions are the same, although obviously not as new as yours. I may have to find a way to downgrade/upgrade to a different version I guess.

update-alternatives —config java

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/bin/gij-4.3                           43        manual mode
  2            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode

comment:3 Changed 8 years ago by killyourtv

Resolution: invalid
Status: newclosed

Older JVMs should be available at http://snapshot.debian.org/, or of course you could try your luck with the sun jre (and updating it with the update-alternatives or galternatives commands).

I'm closing this since it's clearly not a problem with I2P itself and there's nothing that we can do to resolve this.

Note: See TracTickets for help on using tickets.