PDA

View Full Version : My Java is completely messed up


Gegenki
07-07-2007, 01:59 PM
EDIT: Alright forget it. I've given up on Suse for now. I just seem to have so many unique problems. I'm downloading ubuntu


I tried to install JRE 1.6.0_0.1
Didn't work as I kept getting


gegenki@Lsonic:~/Applications/Azureus> java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_03-b07, mixed mode)

But then I realised that means i already had java so I removed 1.6.0_0.1 using rpm -e as it says on the java site.

This all began because I was trying to run a messenger client called mecury because pidgin and gaim kept closing and mercury looks well featured.

It requires java but every time I try to run it it says

gegenki@Lsonic:~/Applications/Mercury> mercury
Exception in thread "main" java.lang.NoClassDefFoundError: com/dMSN/Main

I thought it was a problem with the program so I was searchng for things related to it but when I go on on the java site and go on the java test page it says I can't find it.
So then I decide to do a simple test that doesnt relie on my web browser or something being installed so I downlad Azureus and I recieve


gegenki@Lsonic:~/Applications/Azureus> ./azureus
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 "/home/gegenki/Applications/Azureus/azplugins_2.1.3.jar:/home/gegenki/Applications/Azureus/azrating_1.3.1.jar:/home/gegenki/Applications/Azureus/azupdaterpatcher_1.8.3.jar:/home/gegenki/Applications/Azureus/Azureus2.jar:/home/gegenki/Applications/Azureus/swt.jar:/home/gegenki/Applications/Azureus/Updater.jar" -Djava.library.path="/home/gegenki/Applications/Azureus" -Dazureus.install.path="/home/gegenki/Applications/Azureus" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3320 or swt-pi-gtk in swt.library.path, java.libary.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Libra ry.java:219)
at org.eclipse.swt.internal.Library.loadLibrary(Libra ry.java:151)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:89)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.crea teInstance(SWTThread.java:68)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:106)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:80)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:180)
Azureus TERMINATED.



Using Suse 10.2 64bit I believe.
I haven't used it much since I installed it because gaim and pidgin wouldn't work properly. I was messing around with some PS3 stuff which would have explained the apperance of eclipse in the error message but I don't recall ever trying to install eclipse on here nor do I have any install files for it, nor does it show it being installed in yast. I have eclipse saved in my bookmarks but I duno where it's installed if at all

Lastly
gegenki@Lsonic:~/Applications/Azureus> rpm -q jre
package jre is not installed

Is showing now but after I attempted the install of 1.6.0 it was showing that yet mercury and the online test were still not working

section
07-23-2007, 10:54 AM
It sounds like you had reference to earlier version of JRE in your env variables. You can check those in terminal by 'env' command, shows a long list, also JAVA_HOME.