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 <sebastian.funk@gmail.com> wrote:
>
> Hi,
>
> On Feb 13, 2006, at 5:56 PM, Caldarale, Charles R wrote:
>
> >> From: Sebastian Funk [mailto:sebastian.funk@gmail.com]
> >> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
|