PDA

View Full Version : Javac



antipop
12-08-2003, 09:41 AM
I'm using jgrasp on my comp to program a soft in java, but i can't compile it and the error is that it couldn't find the compiler javac
However the path to javac is written (and checked several times) in my classpath.
I'm not sure if the compiler works under windows (i'm pretty sure it does)
Can anyone help me? (no §§§§ty answer like use another soft cause i also use ant and it needs a compiler, but if you know other compiler that works under windows and that can be freely used then you can always suggest me)

Johnny Knoxvill
12-08-2003, 11:47 AM
https://jsecom15b.sun.com/ECom/EComActionServlet;jsessionid=jsecom15b.sun.com-6b9d%3A3fd4cd2f%3A349b558afd67f1e8
download that, if that isn't what you're using.
in the classpath make sure it's pointing to the bin directory. It should then work fine.

antipop
12-08-2003, 03:43 PM
it's pointing on the bin!!!

antipop
12-08-2003, 03:44 PM
ps i can't access the files but i dl the latest sdk for windows already

Johnny Knoxvill
12-08-2003, 04:08 PM
how are you compiling it, from msdos? what's the error, does it compile fine if you try to put the file in the bin directory?
if the classpath is set it should work no problems.

antipop
12-09-2003, 01:40 AM
I'm compiling using ant and it's telling that it couldn't find the compiler

Johnny Knoxvill
12-09-2003, 03:57 AM
never used ant before, maybe you just need to configure it in ant, try compiling from msdos to see if it works outside it.