Hi, i have recently installed eclipse onto ubuntu, and after a few problems thought i had finally got it working, which of course was completley wrong.
I tried running an applet and got the following problem:
Exception in thread "main" java.lang.NoClassDefFoundError: sun.applet.AppletViewer
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: sun.applet.AppletViewer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/evilmonkey/workspace/LayoutManagerCWK/,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
So, after some messing around it seems i am not running the correct version of java, so i head to the java sun sight, get the latest version (.bin) file and have not managed to install it yet for the following reason:
evilmonkey@ubuntu:~$ fakeroot make-jpkg j2eesdk-1_4_03-linux.bin
Creating temporary directory: /tmp/make-jpkg.XXXXkjNOUB
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
No matching plugin was found.
Removing temporary directory: done
i was using the following site:
https://wiki.ubuntu.com/RestrictedFormats#head-0a52a913dd6107958d0de0b4110e9228200cb677it does exactly the same for:
evilmonkey@ubuntu:~$ DEB_BUILD_GNU_TYPE=i386-linux fakeroot make-jpkg j2eesdk-1_4_03-linux.bin
Creating temporary directory: /tmp/make-jpkg.XXXXhloaup
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
No matching plugin was found.
Removing temporary directory: done
at this point i am completley stuck and its getting really fustrating,
thankyou for any help