because some distribution like debian only offer FREE and OPEN SOURCE software, which Sun's JDK is not...
regards Leon On 2/13/06, Antony Riley <[EMAIL PROTECTED]> wrote: > try as root: > > rpm -e `rpm -q -f /usr/bin/javac` > > Or something like that. > > Basically uninstall which ever pitiful excuse for java is installed on your > system by default leaving only the sun jdk. > > Probably a good idea to check that nothing needs it before you do it. > > On that note, why do certain linux distributions insist on installing bearly > usable java versions ? > > > On 13/02/06, Sebastian Funk <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > On Feb 13, 2006, at 5:56 PM, Caldarale, Charles R wrote: > > > > >> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > > >> Subject: Re: java.lang.Object cannot be resolved > > >> > > >> No, simple "javac Hello.java" doesn't work. Only if I set $CLASSPATH > > >> to "/usr/lib/jdk/jre/lib/rt.jar" or with the -cp-option. > > > > > > Then your JDK installation is broken. Where is javac being executed > > > from? It should be coming from the /usr/lib/jdk/bin directory, and > > > the > > > various pieces of the JVM should be in /usr/lib/jdk/jre/bin and its > > > subdirectories. Is that the case? > > no, javac was set to "/usr/bin/javac" but with /usr/lib/jdk/bin/javac > > ist works fine. Thanks a lot. > > > > Greetings, > > Sebastian > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]