OK, I solved the problem myself, so stop thinking and digging...;)
The only thing you have to do, is to have the usual classes.zip in your
environment variable CLASSPATH, and give the option -classpath to the
compiler, like this:
%>set classpath=c:\jdk1.1.7\lib\classes.zip
%>javac -classpath .;c:\kjava\sddk\classes MyApp.java
In that way, the compiler will be able to start using the classes.zip, but
then it will load all classes from the
-classpath class path. Voila!
I'm sorry if this was more a Java issue than a Palm dev issue.
Have nice day,
Malin
----- Original Message -----
From: Malin Gillberg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: den 25 augusti 1999 12:16
Subject: KJava compile problem
> Hi everyone,
>
> Is there someone out there developing Palm apps using the KJava from Sun?
> I'm trying, but I'm experiencing some troubles:
>
> If I use the KJava class java.lang.Runtime to for example get the current
> date,
> I can't get it to compile. The KJava class java.lang.Runtime is hidden by
> the JDK class java.lang.Runtime. Unfortunately, you can't remove the JDK
> Runtime class, 'cause the compiler needs it!
> This is a real Moment 22 problem.
>
> Has anyone solved it?
>
> Have a nice day!
>
> /Malin
>
>
>
>