Jump to content
  • 0

Question

Posted

When i compile i get this error.

 

BUILD FAILED
F:\workspace\L2JEsios\trunk\Esios_Gameserver\build.xml:54: 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\Java\jre7"

9 answers to this question

Recommended Posts

  • 0
Posted

Hmmm second....

 

Go to Eclipse ... Window/Preferences

help1.jpg

 

And Change jre7 to JDK

 

Perhaps JAVA_HOME does not point to the JDK.

It is currently set to "C:\Program Files\Java\jre7"

 

Maybe if you don't have download: http://www.oracle.com/technetwork/java/javase/downloads/index.html

 

 

 

Hope i help! :D

  • 0
Posted

Windows-Preferences-Java-Installed JREs

 

then click the search button and find your folder with your JDK java files and not JRE

 

The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.

 

Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.

  • 0
Posted

I fixed it and now i have new error on gameserver

 

[c]-----------------------------------------------------------------=[ l2jesios ]

Loading flood protectors.

Loading gameserver configuration files.

Server failed to load ./config/hexid.txt file.

MLog clients using java 1.4+ standard logging.

Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; tra

ce: 10]

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans

.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreads

AwaitingCheckoutDefaultUser] ]

Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExcep

tion: Access denied for user ''@'localhost' to database 'l2jesios'

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

        at com.mysql.jdbc.Util.getInstance(Util.java:386)

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)

        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)

        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)

        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)

        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2

369)

        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)

        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)

        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)

        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java

:305)

        at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag

erDataSource.java:119)

        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti

on(WrapperConnectionPoolDataSource.java:143)

        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti

on(WrapperConnectionPoolDataSource.java:132)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu

tomaticTestTable(C3P0PooledConnectionPoolManager.java:866)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled

ConnectionPool(C3P0PooledConnectionPoolManager.java:789)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0

PooledConnectionPoolManager.java:298)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0

PooledConnectionPoolManager.java:312)

        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A

bstractPoolBackedDataSource.java:128)

        at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:97)

        at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:204)

        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:408)

 

Server have terminated abnormaly.

 

 

Server terminated.

 

Πιέστε ένα πλήκτρο για συνέχεια. . .[/c]

  • 0
Posted

I create 1 and it registered okay. Same problem when i try to clean this appears.

 

#the hexID to auth into login
#Fri Oct 12 22:28:16 EEST 2012
HexID=-5cb3658cd4304fa35726dd66254f49d8
ServerID=1[/c]de

  • 0
Posted

I create 1 and it registered okay. Same problem when i try to clean this appears.

 

#the hexID to auth into login
#Fri Oct 12 22:28:16 EEST 2012
HexID=-5cb3658cd4304fa35726dd66254f49d8
ServerID=1[/c]de

Delete all your hexids from gameserver files and delete them from navicat.

Then , try it again.

Guest
This topic is now closed to further replies.


  • Posts

    • You should have think of that when you held hostage your customer using my donation panel and you didnt gave him the build of the source, you answer when you could (never but in this case imidietly), you had and even if that was something to forget about it your sources have been shared and have so many memory leakage that even talking here is spending time from fixing them but the truth is you dont even know they exist you just copy paste l2jfrozen and add shit no real fixes you know that better, you call me roten and many other names because i do not align with your project thats fine but first look at the mirror before extorting another guy and this topic can prove there was something that was exposing you but it was removed as a favour   so dont force the situation because another can be made   plus it seems you agree with me that if he is not serious he should look at another project since the only part you disagree (wrongly) is that you have bugs... shame.
    • The administrators and moderators can barely read and you think they can understand a source of such magnitude? Besides as it has already been demonstrated moderators like UnklowSoldier are dedicated to resell the code of users who post here on the forum ... I doubt that anyone will share something important in this forum again 🙂
    • im sowwy guytis i forgot your 20iq makes it difficult for you to understand   i copypaste something for you: irony the expression of one's meaning by using language that normally signifies the opposite, typically for humorous or emphatic effect    
    • works of art?  this explains a lot about you, hahaha
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock