[Help] Can't use Eclipse!

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
Nighty91
Posts: 8
Joined: Sat Dec 11, 2010 6:11 pm

[Help] Can't use Eclipse!

Post 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..
User avatar
Flashy
Posts: 310
Joined: Mon Sep 29, 2008 11:49 am
Location: Germany

Re: [Help] Can't use Eclipse!

Post by Flashy »

Nighty91
Posts: 8
Joined: Sat Dec 11, 2010 6:11 pm

Re: [Help] Can't use Eclipse!

Post 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
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Help] Can't use Eclipse!

Post by jurchiks »

JAVA_HOME = C:\Program Files\Java\jdk1.6.0_22
PATH = C:\Program Files\Java\jdk1.6.0_22\bin
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: [Help] Can't use Eclipse!

Post by MELERIX »

path for java is not needed...

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