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

    • There is a ready-made option and the possibility to work according to "Wishlist"
    • Contact me, Discord: xbaus
    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • 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