Page 1 of 1

Compile error

Posted: Mon Oct 03, 2011 7:40 pm
by Probocis
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:last
L2JDP Revision Number:last

C:\workspace\L2J_Server\build.xml:179: Java 1.7 is required. But your version is Java 1.6 and probably JDK is not installed.

I get this error when i try to compile but i have java jdk 1.7 ....

Re: Compile error

Posted: Mon Oct 03, 2011 10:08 pm
by asumos
if you had jdk 1.6 installed prior and used that as the java home variable ( or have not set the variable yet ) that can cause your error

to set JAVA_HOME:

right click on my computer
go to properties
go to advanced tab
click on environment variables
in the bottom box is system variables click on new ( or scroll to JAVA_HOME of you are updating and click edit )
in the top box ( variable name ) put JAVA_HOME
in the bottom box ( variable value ) put C:\Program Files\Java\jdk1.7.0
click ok and restart computer

Re: Compile error

Posted: Mon Oct 03, 2011 10:24 pm
by Zoey76