Ant working in pallada build 2002 ?

Hi,
I'm trying to use ant in pallada build 2002, and it can't find javac.
It says :

"Unable to find a javac compiler" on a ]]> task.

I looked at the properties and in the Execution tab I chose "Project
JDK" for "Run under JDK"... My project JDK is java 1.5.0-beta, and when
I look at the "verbose" output of ant, it says :

Detected Java version: 1.5 in: S:\Program Files\dev\j2sdk1.5.0_beta\jre

Now that's the jre, and I guess it should be the jdk instead (so it can
find javac). Is this a bug? Or is there a way to fix this?

Thanks!

BoD

2 comments
Comment actions Permalink

I think this was answered in the eap n/g.

"BoD" <BoD@JRAF.org> wrote in message news:c40ujc$c1k$1@is.intellij.net...

Hi,
I'm trying to use ant in pallada build 2002, and it can't find javac.
It says :

>

"Unable to find a javac compiler" on a <javac> task.

>

I looked at the properties and in the Execution tab I chose "Project
JDK" for "Run under JDK"... My project JDK is java 1.5.0-beta, and when
I look at the "verbose" output of ant, it says :

>

Detected Java version: 1.5 in: S:\Program Files\dev\j2sdk1.5.0_beta\jre

>

Now that's the jre, and I guess it should be the jdk instead (so it can
find javac). Is this a bug? Or is there a way to fix this?

>

Thanks!

>

BoD

>


0
Comment actions Permalink

Hello Benoit,

how are you since you leave icom ? (send you my personal adress on your email for response)

For your problem, check :
- tools.jar must be in your jdk classpath
- if you use an optionnal ant task that use javac, then javac should be in your system path varaiable

hope this helps,

Richard

0

Please sign in to leave a comment.