Java jar files not working anymore!


Forum: Apps
Topic: Java jar files not working anymore!
started by: nobody

Posted by nobody on May 04 2004,21:16
Here is my problem:
When I started using DSL, I copied to my CD the java directory from my computer's Linux. It worked perfectly and I could use Java jar apps in DSL using Swing.
Today, I downloaded the new version of DSL (0.6.3) and my Java don't work anymore!
It now show this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /cdrom/linux/jsdk/jre/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
Does anyone know what changed between the two versions that could have caused this error?

Posted by roberts on May 05 2004,02:54
You didn't say which version you were using. You need to choose the enhanced hard drive install option. Then your java will work.  
If you are already installed to hard drive, you can try to grab dsl-sys.tar.gz and restore this off the root directory. Probably easier to re-install using dsl-hdinstall and choose enhanced.

Posted by nobody on May 05 2004,20:41
Before, I used DSL version 0.4.10 and my version of Java is 1.4.1.
What I am trying to do is using DSL without touching the hard drive.
I copy all working apps I need in a directory on my normal-sized CD.
Before, I could start any Java apps using this command in my /cdrom/linux/jsdk/bin/ directory:
./java -jar myapp.jar

All my other Linux apps copied on my CD (Firefox, Doom Legacy...) are still working on the new version. Only Java send me an error.

Posted by roberts on May 05 2004,22:27
In your particular case, I would wait till the next release. Many changes have occured since 0.4.x, including a newer kernel and modules. All of these changes lead to tough decisions in order to  keep the size down.  The current release 0.6.3 would work for you if hard drive installed with the enhanced option. In the next release you will have more choices.
Posted by nobody on May 06 2004,20:26
ok, thx for the answer.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.