On Fri, Jan 11, 2008 at 09:44:21PM -0400, [EMAIL PROTECTED] wrote: > Hi, > > I am writing to this group because I have a problem using eclipse on Linux > (version 2.6.18-5-amd64 #1 SMP x86_64). I installed the j2sdk1.5-sun and > latter the eclipse using the aptitude install eclipse. Java alternatives > installed in my machine: > [EMAIL PROTECTED]:/usr/lib/java# update-alternatives --config java > Seleção Alternativa > ----------------------------------------------- > 1 /usr/bin/gij-wrapper-4.1 > * 2 /usr/lib/j2sdk1.5-sun/bin/java > + 3 /usr/lib/jvm/java-gcj/jre/bin/java > > Everything was going fine until I realized that the debug functionality > does not work, I mean it's not possible go step by step through the code. > > I have searched the web looking for some tip regarding how to solve this > issue but unfortunately I couldn't find. It was a surprise to realize that > this functionality (debugging) is not working fine after the installation > had finished. > > Can you help me or give me any directions concerning how to solve this issue?
The eclipse package currently doesnt use the java alternative. It looks into /etc/eclipse/java_home and checks for the first JDK to be installed. This leads to java-gch-compat to be used in your case. Unfortunately the version of GCJ in etch does not implement the JDWP stuff needed for debugging. What you can do is change to search order /etc/eclipse/java_home or override it for your user by putting "JAVA_HOME=/usr/lib/j2sdk1.5-sun" into ~/.eclipse/eclipserc. Another way is to just deinstall java-gcj-compat package. Cheers, Michael _______________________________________________ pkg-java-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

