errors after importing the project

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
xiaodu
Posts: 3
Joined: Thu Jan 10, 2013 8:16 am

errors after importing the project

Post by xiaodu »

os:windows 7 home bisic
java_version:"1.7.0_06"
jdk compliance level:1.7
jre system library:jre7

1.i downloaded the souce code project with TortoiseSVN
2.i imported the existing project into workspace
3.most errors are like this:
public static List<String> L2JMOD_MULTILANG_ALLOWED = new ArrayList<>();
4.after i run the build.xml

Buildfile: C:\java src\Source Code\L2J_Server\build.xml
checkRequirements:

BUILD FAILED
C:\java src\Source Code\L2J_Server\build.xml:217: Java 1.7 is required. But your version is Java 1.6 and probably JDK is not installed.

Total time: 233 milliseconds


can anybody help me? many thanks!
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

Re: errors after importing the project

Post by Arantir »

xiaodu wrote:Java 1.7 is required. But your version is Java 1.6
xiaodu
Posts: 3
Joined: Thu Jan 10, 2013 8:16 am

Re: errors after importing the project

Post by xiaodu »

Arantir wrote:
xiaodu wrote:Java 1.7 is required. But your version is Java 1.6
thanks for help.
but the environment is
java_version:"1.7.0_06"
jdk compliance level:1.7
jre system library:jre7

so i still don't get the point...
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: errors after importing the project

Post by MELERIX »

probably you have both or more Java versions installed in your system.

try uninstall any Java version you may have installed (included leftover forlders), and then install the last stable version if Java 7.

also follow this guides: viewtopic.php?f=2&t=10719
xiaodu
Posts: 3
Joined: Thu Jan 10, 2013 8:16 am

Re: errors after importing the project

Post by xiaodu »

thanks to MELERIX
problem solved :mrgreen:
Post Reply