We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

L2JCLI dont work / Java installation error

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Darelius
Posts: 66
Joined: Wed Apr 09, 2008 2:48 pm

L2JCLI dont work / Java installation error

Post by Darelius » Wed Feb 12, 2020 3:53 pm

Hello, i just tried to create a small L2 server and failed during your manual at https://www.l2jserver.com/windows.html

The problem is L2jCLI

It wont start, seems to be broken.
Image
All other steps worked so far, as i know only one small "problem" occured, maybe its the reason:

I hav another Java installed and the jave version i downloaded has no "install" option, so i put it in manually and added the path and variable as given - is that a problem?

when i use cmd: "java -version" it gives out 1.8.0_241
(just updated to newest java)

I tried to use the java and add the "other" Version and activated it - no change...
maybe thjats the "problem" but how do i change that manually?


...DX
Darelius, Keeper of the Elements
Image

User avatar
maneco2
Advanced User
Advanced User
Posts: 632
Joined: Sat Aug 24, 2013 7:10 am

Re: L2JCLI dont work / Java installation error

Post by maneco2 » Mon Feb 17, 2020 9:07 pm

Please remove java jdk 8 first, later install jdk 11, and check cmd for java -version :+1:

User avatar
Darelius
Posts: 66
Joined: Wed Apr 09, 2008 2:48 pm

Re: L2JCLI dont work / Java installation error

Post by Darelius » Tue Feb 18, 2020 7:17 am

maneco2 wrote:
Mon Feb 17, 2020 9:07 pm
Please remove java jdk 8 first, later install jdk 11, and check cmd for java -version :+1:
Problem: Where to get Java 11?
I dont find only the "openJDK (13.0.3 etc) but only as zip archive.
There is only a "zip" version no version, which can be installed, so i tried it and it didnt run properly :(


...DX
Darelius, Keeper of the Elements
Image

Mantosh
Posts: 18
Joined: Thu Aug 29, 2019 5:54 pm

Re: L2JCLI dont work / Java installation error

Post by Mantosh » Tue Feb 18, 2020 1:04 pm

The first part of https://www.l2jserver.com/windows.html tutorial explains how to get java installed.

User avatar
Darelius
Posts: 66
Joined: Wed Apr 09, 2008 2:48 pm

Re: L2JCLI dont work / Java installation error

Post by Darelius » Tue Feb 18, 2020 1:55 pm

Okay, problem found - in the Path there ware another Java path BEFORE the one i entered, so he got th4e "old" Java - problem fixed.

But now CLI cannot create an Admin account :(


...DX
Darelius, Keeper of the Elements
Image

Post Reply