Leon_Nardella | Is this a good place to look for help on building icedtea6 on Ubuntu? | 00:53 |
---|---|---|
EruditeHermit | hi can anyone help me with getting openjdk and eclipse to work together? I get the following error when I try to run the appletviewer sun.applet.AppletViewer not fond in gnu.gcj.runtime.SystemClassLoader | 19:12 |
EruditeHermit | thank you in advance | 19:12 |
hicham | hi there | 21:54 |
hicham | hi there | 22:05 |
hicham | hi there | 22:20 |
EruditeHermit | hicham: hi | 22:45 |
hicham | how r u doing? | 22:45 |
EruditeHermit | not bad | 22:45 |
EruditeHermit | do you know about ubuntu-java stuff? | 22:45 |
hicham | a little bit | 22:46 |
hicham | it is a packaging room | 22:46 |
hicham | no? | 22:46 |
EruditeHermit | can you help me with a problem | 22:46 |
EruditeHermit | yes | 22:46 |
hicham | yes | 22:46 |
hicham | if i can | 22:46 |
hicham | ask | 22:46 |
EruditeHermit | hi can anyone help me with getting openjdk and eclipse to work together? I get the following error when I try to run the appletviewer sun.applet.AppletViewer not fond in gnu.gcj.runtime.SystemClassLoader | 22:46 |
EruditeHermit | repost from earlier | 22:46 |
EruditeHermit | I have openjdk-6-jdk installed | 22:47 |
hicham | but why openjdk? | 22:47 |
hicham | it is still incomplete | 22:47 |
hicham | it is a work in progress | 22:47 |
EruditeHermit | what is missing? | 22:47 |
hicham | a lot of classes and stuff | 22:47 |
EruditeHermit | I thought sun opened most of it and what it did not, was reverse engineered | 22:48 |
EruditeHermit | I thought it passed the tests to make sure it was compliant | 22:48 |
EruditeHermit | or am I wrong? | 22:48 |
hicham | it is compliant | 22:49 |
hicham | but not complete | 22:49 |
hicham | otherwise sun will loose the market | 22:49 |
EruditeHermit | I see | 22:49 |
EruditeHermit | what all is missing | 22:49 |
hicham | eclipse runs well with gcj? | 22:49 |
EruditeHermit | well it is running apart from the appletviewer | 22:49 |
EruditeHermit | there is even an eclipse-jdt-gcj package in ubuntu | 22:50 |
hicham | yes | 22:50 |
hicham | in ubuntu there is two alternatives | 22:50 |
hicham | the native version of eclipse built with gcj | 22:50 |
hicham | and the one that runs with sun-jre | 22:51 |
hicham | have u tried sun's jre? | 22:51 |
EruditeHermit | no | 22:52 |
EruditeHermit | but I'd rather use the open source version if at all possible | 22:53 |
hicham | why? | 22:53 |
hicham | most people use sun-jre | 22:53 |
EruditeHermit | because I support open software | 22:54 |
hicham | me too | 22:55 |
hicham | here is a tip | 22:55 |
hicham | try to find the class in jre and put in OpenJDK's runtime | 22:55 |
hicham | usually, there is a main jar file | 22:55 |
hicham | which contains the basic runtime classes | 22:55 |
EruditeHermit | doesn't it load all the classes in jre? | 22:57 |
EruditeHermit | already | 22:57 |
hicham | yes, but as u told, it doesnt find some classes | 22:57 |
EruditeHermit | how do I find it? | 22:57 |
hicham | plus, the open jdk wont use the sun package | 22:57 |
hicham | it is obvious | 22:58 |
EruditeHermit | err | 22:58 |
EruditeHermit | I'm new to all this | 22:58 |
EruditeHermit | so forgive my ignorance | 22:58 |
hicham | me too i m new dont worry | 22:58 |
hicham | r u working on ubuntu? | 22:58 |
EruditeHermit | yes | 22:58 |
EruditeHermit | I have hte ubuntu packages installed | 22:59 |
EruditeHermit | ok | 23:03 |
EruditeHermit | I got it to work | 23:03 |
EruditeHermit | somehow | 23:03 |
EruditeHermit | but I still am confused by something | 23:03 |
hicham | how did u do? | 23:03 |
EruditeHermit | so | 23:03 |
hicham | what? | 23:03 |
EruditeHermit | it turns out that I seem to have 2 javas installed | 23:04 |
EruditeHermit | if I go to run | 23:04 |
EruditeHermit | then there is a tab called JRE | 23:04 |
EruditeHermit | in that tab there is Project JRE (OpenJDK) | 23:05 |
hicham | here is a program to help you : galternatives | 23:05 |
hicham | and u can choose from the project properties too | 23:06 |
EruditeHermit | but it is using a jre in a directory called java-1.5.0-gcj-4.3-1.5.0.0 | 23:06 |
EruditeHermit | and also one directory called openjdk-6-jdk | 23:06 |
EruditeHermit | why are there two? | 23:06 |
hicham | u have to choose the compiler | 23:08 |
hicham | and the runtime | 23:08 |
EruditeHermit | but why do I have two when I only installed openjdk-6-jdk | 23:09 |
EruditeHermit | hmm | 23:10 |
EruditeHermit | I am confused why I have gcj as well as openjdk | 23:10 |
EruditeHermit | and what the difference is | 23:10 |
EruditeHermit | for example | 23:10 |
EruditeHermit | I seem to have 2 implementations of java in /usr/lib/jvm/ | 23:10 |
EruditeHermit | one is /usr/lib/jvm/openjdk-6-jdk and the other is /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0 | 23:11 |
hicham | openjdk is project different from gcj | 23:14 |
hicham | it may uses some elements of it | 23:14 |
hicham | but it is not the same | 23:14 |
hicham | java-gcj is installed by default | 23:14 |
hicham | that is why there is a folder for it | 23:14 |
EruditeHermit | hmm | 23:20 |
hicham | do u understand now? | 23:22 |
EruditeHermit | i guess | 23:24 |
EruditeHermit | can I get rid of the gcj version | 23:24 |
EruditeHermit | can i remove the package gcj-4.3? | 23:33 |
EruditeHermit | the whole java situation is so confusing because there are so many open source implementations of it | 23:33 |
EruditeHermit | cacao, openjdk, gcj, icedtea | 23:33 |
EruditeHermit | and many of them overlap | 23:34 |
EruditeHermit | but they also all have their own packages | 23:34 |
EruditeHermit | which makes it a big mess for someone who doesn't know what they are doing | 23:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!