LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-26-2005, 03:33 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Java problem


The following site from FireFox (http://java.com/en/download/help/testvm.xml) says I have 1.5.0_05.

When I run:
Code:
#: java -version 
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
is the result. How do I get the command line to return the higher version?

This all results when I try to install Azureus:
Code:
# java -jar Azureus2.3.0.4.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLine
I'd have none of these problems if apt-get install -f azureus did not return

Code:
Unknown signature /var/cache/apt/archives/azureus_2.3.0.4-0.gbv.2_i586.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#b7afc211)
E: Error(s) while checking package signatures:
0 unsigned package(s)
1 package(s) with unknown signatures
0 package(s) with illegal/corrupted signatures
E: Handler silently failed

Last edited by Jongi; 10-26-2005 at 03:45 PM.
 
Old 10-26-2005, 09:59 PM   #2
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
did you manually install java? if you did, it's probably in the /usr/java file. look in there and see what version you have. the only folder in there will be your version. if you have jre1.5.0_03, then there will be a folder by that name.
 
Old 10-27-2005, 02:30 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Eh, 1.5.0_05 is installed
 
Old 10-27-2005, 04:14 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I installed azureus (manually not using the rpm) and it works fine with the same version of java that you are using.
 
Old 10-27-2005, 05:27 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
What could be causing the exception error then?
 
Old 10-29-2005, 06:35 PM   #6
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
So I downloaded the tar.bz file and extracted it.

The ran

# ./azureus
Code:
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_03]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/usr/src/azureus/Azureus2.jar:/usr/src/azureus/swt-gtk.jar:/usr/src/azureus/swt.jar:/usr/src/azureus/swt-mozilla.jar" -Djava.library.path="/usr/src/azureus" -Dazureus.install.path="/usr/src/azureus" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/src/azureus/libswt-motif-3106.so: /usr/src/azureus/libswt-motif-3106.so: ELF file data encoding not little-endian
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
        at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:107)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)
Azureus TERMINATED.
I suspect there is something I need to change. Does it need jr2e?
 
Old 10-29-2005, 08:24 PM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
As it happens, I saw that apt-get downloads rpms to /var/cache/apt/archives/ so I took the azureus rpm and moved it o a directory I setup for SUSE 9.3 downloads.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x-java-vm problem phamtranquocvie Linux - Software 0 06-15-2005 05:42 PM
Java problem shortman1984 Linux - Software 3 03-23-2004 05:42 PM
Java problem CragStar Programming 11 03-11-2004 10:02 AM
java problem bm1 Linux - Software 4 06-01-2003 08:27 AM
Java problem $$$ XillusionsX Programming 5 12-11-2001 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration