Page 1 of 1

[Help] Can't use Eclipse!

Posted: Sun Dec 12, 2010 10:59 pm
by Nighty91
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hey guys..
if i have my java installed in C:\Program Files\Java2\jre6...

What i must write in JAVA_HOME and in PATH to not have errors??

When i try to use Eclipse tell me

C:\Users\Nighty\workspace\L2_GameServer\build.xml:63: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java2\jre6"


Anyone can help me?? That error i take when i try something in eclipse.. :|

I checked more ways to fix that..but nothing worked..

Re: [Help] Can't use Eclipse!

Posted: Sun Dec 12, 2010 11:10 pm
by Flashy

Re: [Help] Can't use Eclipse!

Posted: Sun Dec 12, 2010 11:36 pm
by Nighty91
I installed now JDK..have something to do? or i need SDK ???

And after those..how should my JAVA_HOME and PATH look? what adds i must make there?? thx

Re: [Help] Can't use Eclipse!

Posted: Mon Dec 13, 2010 9:49 am
by jurchiks
JAVA_HOME = C:\Program Files\Java\jdk1.6.0_22
PATH = C:\Program Files\Java\jdk1.6.0_22\bin

Re: [Help] Can't use Eclipse!

Posted: Tue Dec 14, 2010 7:36 am
by MELERIX
path for java is not needed...

just follow this guides: viewtopic.php?f=2&t=10719