Compile error

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
Probocis
Posts: 1
Joined: Mon Oct 03, 2011 7:33 pm

Compile error

Post 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 ....
asumos
Posts: 32
Joined: Sat Jul 09, 2011 1:37 am

Re: Compile error

Post 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
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Compile error

Post by Zoey76 »

Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Locked