Classpath Tools and JamVM with --disable-zip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Prologue: I'm very new to Java.

After compiling and installing on FreeBSD 6.0 Classpath 0.93
(--with-jikes --disable-gtk-peer --disable-gconf-peer --disable-plugin
--enable-local-sockets --enable-xmlj --prefix=/opt/java) and JamVM 1.4.4
(--prefix=/opt/java --with-classpath-install-dir=/opt/java
--disable-zip) I did:

# pwd
/opt/java/share/classpath
# unzip glibj.zip
# unzip tools.zip
# rm glibj.zip tools.zip

And my HelloWorld test runs fine. But when I'm trying to execute any
Classpath tool (for example, gjar) I'm getting:

% jamvm gnu.classpath.tools.jar.Main
java.lang.ExceptionInInitializerError
   at gnu.classpath.tools.common.ClasspathToolParser.getVersionString(ClasspathToolParser.java:58)
   at gnu.classpath.tools.common.ClasspathToolParser.<init>(ClasspathToolParser.java:74)
   at gnu.classpath.tools.common.ClasspathToolParser.<init>(ClasspathToolParser.java:69)
   at gnu.classpath.tools.jar.Main$JarParser.<init>(Main.java:149)
   at gnu.classpath.tools.jar.Main.initializeParser(Main.java:175)
   at gnu.classpath.tools.jar.Main.run(Main.java:243)
   at gnu.classpath.tools.jar.Main.main(Main.java:257)
Caused by: java.util.MissingResourceException: Failed to load bundle: gnu.classpath.tools.common.Messages
   at java.util.ResourceBundle.tryBundle(ResourceBundle.java:487)
   at java.util.ResourceBundle.tryBundle(ResourceBundle.java:550)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:400)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:231)
   at gnu.classpath.tools.common.Messages.<clinit>(Messages.java:49)
   at gnu.classpath.tools.common.ClasspathToolParser.getVersionString(ClasspathToolParser.java:58)
   ...6 more
Caused by: java.io.IOException: Inappropriate ioctl for device
   at gnu.java.nio.VMChannel.available(Native Method)
   at gnu.java.nio.VMChannel.available(VMChannel.java:144)
   at gnu.java.nio.FileChannelImpl.available(FileChannelImpl.java:188)
   at java.io.FileInputStream.available(FileInputStream.java:179)
   at java.io.FilterInputStream.available(FilterInputStream.java:129)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:276)
   at java.io.FilterInputStream.read(FilterInputStream.java:173)
   at java.io.InputStreamReader.read(InputStreamReader.java:459)
   at java.io.BufferedReader.fill(BufferedReader.java:373)
   at java.io.BufferedReader.readLine(BufferedReader.java:475)
   at java.util.Properties.load(Properties.java:201)
   at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:109)
   at java.util.ResourceBundle.tryBundle(ResourceBundle.java:483)
   ...11 more

So, can we use Classpath Tools when JamVM was compiled with
--disable-zip option?

PS
Sorry for my terrible English.

-- 
AG5745-RIPE


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux