Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
code:
-----
[simba@localhost simba]# chmod +x filename.bin
[simba@localhost simba]# ./filename.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
-----
Well, there are a few more errors, but they all have to deal with exceptions when defining java classes. Any clues?
There is no output of this command, correct? And I also verified that the directories exist, and are the correct version number.
So, then I go back and try to run the program. I'll give you the full dump here:
code:
-----
[root@localhost my-installs]# ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while d
efining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./li
bgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.
3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.St
ring) (/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/
lib/./libgcj.so.3)
at 0x4025ac2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], in
t, int, java.security.ProtectionDomain) (/usr/lib/./libgcj.so.3)
at 0x4025aa13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], in
t, int) (/usr/lib/./libgcj.so.3)
at 0x402f1f2e: java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/
./libgcj.so.3)
at 0x40248197: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/us
r/lib/./libgcj.so.3)
at 0x4025a904: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/u
sr/lib/./libgcj.so.3)
at 0x4024889c: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/
./libgcj.so.3)
at 0x40244cdd: java.lang.Class.forName(java.lang.String, boolean, java.lang.C
lassLoader) (/usr/lib/./libgcj.so.3)
at 0x4023b4cf: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/./libgc
j.so.3)
at 0x40231857: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/./libgcj.so.3)
at 0x40229ae4: _Jv_PrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./
libgcj.so.3)
at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib
/./libgcj.so.3)
at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.C
lassLoader) (/usr/lib/./libgcj.so.3)
at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.s
o.3)
at 0x402ad01d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, bool
ean) (/usr/lib/./libgcj.so.3)
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x420156a4: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)
[simba@localhost my-installs]#
-----
Originally posted by Crashed_Again Yeah then you need to add java to your path before executing the installer. Export the path by doing:
export PATH=$PATH:/usr/java/j2re1.4.1_01/bin
You will probably have to change j2re1.4.1_01 to the version of java you are using.
This was just an example. You may have to adjust for the version you are installing, and for the directory location. If your java is that version at that location, then that export should work. To check it, simply type:
$PATH
In a terminal. It will echo out your PATH, and you can see if it has your java location in it. If not, you either are typing it incorrectly, or you need to set the variable elsewhere, maybe .bash_profile
To find out where java is, either poke around your system or try a whereis:
whereis java
OR locate java (which will pull alot up, but sometimes helps).
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90
Rep:
I had the same problem a week ago. I think you'll find java in the /usr/local/j2sdkVERSION#/bin (if you installed as root - read your install.txt). Now after this all you'll have to do is get applets to work(if you want them to) in Mozilla and your file manager. That's a lot more fun
A question for everyone else:
After setting I set the path to my JSDK terminal I echo $PATH and get the correct path. I close all my terminals and then open a new terminal. When I
$ echo $PATH my usr/local/java.../bin
in this new terminal it is gone from the path. What's happened here? How do I fix it?
And then I echo the path back to me to see if it added correctly.
code:
-----
[root@cs6625135-156 my-installs]# $PATH
bash: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.1_02/bin: No
such file or directory
-----
Do I maybe need to use one of these dirs instead?
I also, on your advice, added it to the .bash_profile
And, maybe this editing the path in a terminal and it disappearing... could be the problem. I'm going to restart with it in my .bash_profile and find out if that helps.
And I know Limewire kinda sucks.. Used to use it as a windows user... But I didn't know what else to get... Didn't want to get into kazaa lite and wine... But oh well. I'd still at least like to get java installed correctly. Java still does not work in my browser, even with the browser plugin supposedly installed (it's not listed on my plugin's list inside the browser - but that's another nightmare)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.