java runtime environment RH 8.0

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

 



I have these java components installed:

[root@xxx wormscan-1.5.7-release]# rpm -qa | grep -i java
gcc-java-3.2-7

[root@xxx wormscan-1.5.7-release]# rpm -qa | grep -i j2
j2re-1.4.1_02-fcs
j2sdk-1.4.1_02-fcs

The java plugin works OK with Mozilla 1.3a. However, when I do a 

[root@xxx wormscan-1.5.7-release]# java -jar wormscan.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: wormscan.jar
   at 0x4027715f: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/libgcj.so.3)
   at 0x4026a08e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x4026bb1a: java.lang.LinkageError.LinkageError(java.lang.String)
(/usr/lib/libgcj.so.3)
   at 0x4026cf76:
java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String)
(/usr/lib/libgcj.so.3)
   at 0x402bc0f9: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3)
   at 0x4025dfdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3)
   at 0x4022a78c: _Jv_RunMain(java.lang.Class, byte const, int, byte const,
boolean) (/usr/lib/libgcj.so.3)
   at 0x08048900: ?? (??:0)
   at 0x4068c907: __libc_start_main (/lib/libc.so.6)
   at 0x080486c1: ?? (??:0)

However, man java tells me:

       −jar                Executes  a  program encapsulated in a JAR archive.

Evidently, an old version of java is installed??

[admin@xxx admin]$ java -version
java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

However, from above I have the 1.4.1 run time environment installed.

Does something else need to be installed to get this to work? 




-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux