/srv/irclogs.ubuntu.com/2009/02/15/#ubuntu-java.txt

Leon_NardellaIs this a good place to look for help on building icedtea6 on Ubuntu?00:53
EruditeHermithi 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.SystemClassLoader19:12
EruditeHermitthank you in advance19:12
hichamhi there21:54
hichamhi there22:05
hichamhi there22:20
EruditeHermithicham: hi22:45
hichamhow r u doing?22:45
EruditeHermitnot bad22:45
EruditeHermitdo you know about ubuntu-java stuff?22:45
hichama little bit22:46
hichamit is a packaging room22:46
hichamno?22:46
EruditeHermitcan you help me with a problem22:46
EruditeHermityes22:46
hichamyes22:46
hichamif i can22:46
hichamask22:46
EruditeHermithi 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.SystemClassLoader22:46
EruditeHermitrepost from earlier22:46
EruditeHermitI have openjdk-6-jdk installed22:47
hichambut why openjdk?22:47
hichamit is still incomplete22:47
hichamit is a work in progress22:47
EruditeHermitwhat is missing?22:47
hichama lot of classes and stuff22:47
EruditeHermitI thought sun opened most of it and what it did not, was reverse engineered22:48
EruditeHermitI thought it passed the tests to make sure it was compliant22:48
EruditeHermitor am I wrong?22:48
hichamit is compliant22:49
hichambut not complete22:49
hichamotherwise sun will loose the market22:49
EruditeHermitI see22:49
EruditeHermitwhat all is missing22:49
hichameclipse runs well with gcj?22:49
EruditeHermitwell it is running apart from the appletviewer22:49
EruditeHermitthere is even an eclipse-jdt-gcj package in ubuntu22:50
hichamyes22:50
hichamin ubuntu there is two alternatives22:50
hichamthe native version of eclipse built with gcj22:50
hichamand the one that runs with sun-jre22:51
hichamhave u tried sun's jre?22:51
EruditeHermitno22:52
EruditeHermitbut I'd rather use the open source version if at all possible22:53
hichamwhy?22:53
hichammost people use sun-jre22:53
EruditeHermitbecause I support open software22:54
hichamme too22:55
hichamhere is a tip22:55
hichamtry to find the class in jre and put in OpenJDK's runtime22:55
hichamusually, there is a main jar file22:55
hichamwhich contains the basic runtime classes22:55
EruditeHermitdoesn't it load all the classes in jre?22:57
EruditeHermitalready22:57
hichamyes, but as u told, it doesnt find some classes22:57
EruditeHermithow do I find it?22:57
hichamplus, the open jdk wont use the sun package22:57
hichamit is obvious22:58
EruditeHermiterr22:58
EruditeHermitI'm new to all this22:58
EruditeHermitso forgive my ignorance22:58
hichamme too i m new dont worry22:58
hichamr u working on ubuntu?22:58
EruditeHermityes22:58
EruditeHermitI have hte ubuntu packages installed22:59
EruditeHermitok23:03
EruditeHermitI got it to work23:03
EruditeHermitsomehow23:03
EruditeHermitbut I still am confused by something23:03
hichamhow did u do?23:03
EruditeHermitso23:03
hichamwhat?23:03
EruditeHermitit turns out that I seem to have 2 javas installed23:04
EruditeHermitif I go to run23:04
EruditeHermitthen there is a tab called JRE23:04
EruditeHermitin that tab there is Project JRE (OpenJDK)23:05
hichamhere is a program to help you : galternatives23:05
hichamand u can choose from the project properties too23:06
EruditeHermitbut it is using a jre in a directory called java-1.5.0-gcj-4.3-1.5.0.023:06
EruditeHermitand also one directory called openjdk-6-jdk23:06
EruditeHermitwhy are there two?23:06
hichamu have to choose the compiler23:08
hichamand the runtime23:08
EruditeHermitbut why do I have two when I only installed openjdk-6-jdk23:09
EruditeHermithmm23:10
EruditeHermitI am confused why I have gcj as well as openjdk23:10
EruditeHermitand what the difference is23:10
EruditeHermitfor example23:10
EruditeHermitI seem to have 2 implementations of java in /usr/lib/jvm/23:10
EruditeHermitone is /usr/lib/jvm/openjdk-6-jdk and the other is /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.023:11
hichamopenjdk is project different from gcj23:14
hichamit may uses some elements of it23:14
hichambut it is not the same23:14
hichamjava-gcj is installed by default23:14
hichamthat is why there is a folder for it23:14
EruditeHermithmm23:20
hichamdo u understand now?23:22
EruditeHermiti guess23:24
EruditeHermitcan I get rid of the gcj version23:24
EruditeHermitcan i remove the package gcj-4.3?23:33
EruditeHermitthe whole java situation is so confusing because there are so many open source implementations of it23:33
EruditeHermitcacao, openjdk, gcj, icedtea23:33
EruditeHermitand many of them overlap23:34
EruditeHermitbut they also all have their own packages23:34
EruditeHermitwhich makes it a big mess for someone who doesn't know what they are doing23:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!