Page 1 of 1

errors after importing the project

Posted: Thu Jan 10, 2013 10:24 am
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!

Re: errors after importing the project

Posted: Thu Jan 10, 2013 10:33 am
by Arantir
xiaodu wrote:Java 1.7 is required. But your version is Java 1.6

Re: errors after importing the project

Posted: Fri Jan 11, 2013 2:11 am
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...

Re: errors after importing the project

Posted: Fri Jan 11, 2013 3:20 am
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

Re: errors after importing the project

Posted: Fri Jan 11, 2013 8:28 am
by xiaodu
thanks to MELERIX
problem solved :mrgreen: