[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java sun and gcj problem



> > I have compiled a simple java program with java sun 1.5. Everything
> > worked. Today I have installed eclipse, and after recompiling same
> > program (without errors) I have launched it but I got:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError: while
> > resolving class: myApp

> Are you sure you are actually launching what you want to launch? Is
> the classpath set correctly?

> > Probably eclipse "installs & uses" gcj and not java-sun.
> It is using gcj as a VM at least, see the libgcj in your error above.
> > How can I
> > come back to "old" situation (using java sun)?
 
with 'update-alternatives' I got:

# update-alternatives --config javac

There is only 1 program which provides javac
(/usr/lib/j2sdk1.5-sun/bin/javac). Nothing to configure.

Giulio



Reply to: