old server not running on w10

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
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

old server not running on w10

Post by puredemonsss »

- hi there and sorry for bad engllish !
- nice to see the community still working on it !
- so here is my story !
- it has to be windows right ?

like in 2012-07-08-loginlog.txt i had an laptop with win 7 x64 with java sdk 7u45
istaled the l2j h5 server that was already compiled and archived version from here
extracted in same folder an all settings done and all kind of links and stuff
then worked like 4 years yea with no problem
then ported its database and file server to another w7 x64 with same java version
and continued working till today fine with all the custom things i have done to it in these years
so the first log on this server is crazy like 2012-07-08-loginlog.txt yes working till today
you guys made a very stable version omg to keep playing for years with no big problems : )
now the problem is that now i tested w 10 x64 pro with same java version as usual
and all good for mysql and all imported database and java path set like always
now all is working ok but like always is windows isnt it
i start login server .bat like always and it gives me this crap !
usualy i fix it because java versions and paths but this this thiiissss
so maybe the server wants to say hi there for you guys for so long time : ))
so here is the errory crap ! i know the server is ok recopyied it as always just in case but maybe needs some changes due to w10 ?

Could not find or load main class com.l2jserver.loginserver.L2LoginServer

it works ok on other machines with w7x64 same java and even different my sql versions
but in w10 it gives this crappy error !
all is set up properly but i think there is a problem in w 10 maybe in command shell perhaps or bat or something funny going on about it !
restriction on administrator or something ? i dunno really !
java -version and javac -version looks ok so the path i set as always is fine as in other machines are same and ok !
so the command .bat is this

java -Xms128m -Xmx128m -cp ./../libs/*;l2jlogin.jar com.l2jserver.loginserver.L2LoginServer

do it needs to be changed or something in w10 ?

- so if you guys have any ideas ?
- i don't want to install another version because its heavy customized and all for fun !
- funny fact that in all machines using w7x64 same java version is working like copy paste !
- thank you much !
Edoogel
Posts: 58
Joined: Wed Mar 23, 2016 2:05 am
Location: Russia
Contact:

Re: old server not running on w10

Post by Edoogel »

Hi, you need Java 11 to start the server
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

Edoogel wrote: โ†‘Wed Mar 06, 2019 8:00 am Hi, you need Java 11 to start the server
well i tried but its an old build from 2012 and i really want this one to work : (
gives this error

Error: Could not find or load main class com.l2jserver.loginserver.L2LoginServer
Caused by: java.lang.ClassNotFoundException: com.l2jserver.loginserver.L2LoginServer

- thanx for reply anyway !
- i'm left with no ideas !
- so any other ideas you guys ?
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

so i have tried with almost all the java you guys : (

java se sdk 11.0.2 x64
java se sdk 8u45 x64
java se sdk 8u25 x64
java se sdk 7u45 x64
java se sdk 7u25 x64
java se sdk 6u45 x64
java se sdk 6u25 x64

set the path for every one of them one by one
and tested in command powershell to give the right version of java -version and javac -version
and still this error

Error: Could not find or load main class com.l2jserver.loginserver.L2LoginServer

so whats next ?
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

i have a question you guys !
can i run the already compiled sever in a close environment
can i use eclipse to use it ?
have any tips ?
thanx !
Edoogel
Posts: 58
Joined: Wed Mar 23, 2016 2:05 am
Location: Russia
Contact:

Re: old server not running on w10

Post by Edoogel »

puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

Edoogel wrote: โ†‘Wed Mar 06, 2019 8:23 pm read here


viewtopic.php?f=94&t=32326&p=194172#p194167
thanx for your response
but i don't want to build another server
i want to start this old one i have already
its working ok in windows7x64 with java 7u45
but in windows10x64 with java 7u45 gives this error when i star the login
the command is this inside the .bat file
java -Xms128m -Xmx128m -cp ./../libs/*;l2jlogin.jar com.l2jserver.loginserver.L2LoginServer
and give this error
Error: Could not find or load main class com.l2jserver.loginserver.L2LoginServer
why in w7 works ok but in w10 gives error ?
do java works different in w10 ?
how do i isolate and run the already compiled and set up server from w10 ?
it must be something its happening to java in w10 right ?
the java paths are ok and even tryed like 10 different setups from oracle articles but none worked
its like java is not finding the links or paths
can be my w10 that its faulty ?
ill try on another machine with w10 and report if it works coz in all w7 machines is working like copy paste
User avatar
regenx
Posts: 319
Joined: Sat Jul 17, 2010 6:55 am

Re: old server not running on w10

Post by regenx »

Java and L2J on Windows OS, lol. :crazy:
Try Linux.. :+1: :wave:
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

regenx wrote: โ†‘Sat Mar 09, 2019 5:20 pm Java and L2J on Windows OS, lol. :crazy:
Try Linux.. :+1: :wave:
so let me see
you say that i need a separate system to host the server and a separate system to run the client ?
no thanx ! its too much fuss to do that realy just for some few of us that play on it
and on localhost the ping is small too soo . . . thanx aniway !
just want this one that i have to run on windows10
i have tested it on a few w10 systems and not working
but on w7 it runs with no problem
so it has to be something with windows restrincting java from running or something
i know that w10 haves and impact on programs and not letting them manifest as needed !
aiway ill post here if i find something around this problem !
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: old server not running on w10

Post by Zoey76 »

Are you using an old version for some reason?
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

Zoey76 wrote: โ†‘Sun Mar 10, 2019 7:47 pm Are you using an old version for some reason?
hey ^_<
yes because its heavy modded and can't just install a new one
i mean i tested the new ones and are great
but i want to keep this one working tho
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: old server not running on w10

Post by Zoey76 »

puredemonsss wrote: โ†‘Mon Mar 11, 2019 2:32 am
Zoey76 wrote: โ†‘Sun Mar 10, 2019 7:47 pm Are you using an old version for some reason?
hey ^_<
yes because its heavy modded and can't just install a new one
i mean i tested the new ones and are great
but i want to keep this one working tho
Okay, not sure how to help you, can you share the server code?
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: old server not running on w10

Post by puredemonsss »

Zoey76 wrote: โ†‘Mon Mar 11, 2019 5:00 am Okay, not sure how to help you, can you share the server code?
thanks for helping !
do i make an arhive of the last server and data base i currently use now ?
do i pm you the link ? or . . .
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: old server not running on w10

Post by Zoey76 »

If you PM me a link I'll download and install it and tweak the code until it starts.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
regenx
Posts: 319
Joined: Sat Jul 17, 2010 6:55 am

Re: old server not running on w10

Post by regenx »

puredemonsss wrote: โ†‘Sat Mar 09, 2019 8:59 pm
regenx wrote: โ†‘Sat Mar 09, 2019 5:20 pm Java and L2J on Windows OS, lol. :crazy:
Try Linux.. :+1: :wave:
so let me see
you say that i need a separate system to host the server and a separate system to run the client ?
no thanx ! its too much fuss to do that realy just for some few of us that play on it
and on localhost the ping is small too soo . . . thanx aniway !
just want this one that i have to run on windows10
i have tested it on a few w10 systems and not working
but on w7 it runs with no problem
so it has to be something with windows restrincting java from running or something
i know that w10 haves and impact on programs and not letting them manifest as needed !
aiway ill post here if i find something around this problem !
Wait a minute.. I don't say that you'll need separate systems OMG. I said that to try on Linux OS because it is much easier and stable than Windows.

.. and as far as I know any L2J server version is working and is compatible with any operating system, but in your case it is something different because you have something missing or who knows.

I'm using Linux Ubuntu 16.04 LTS and 18.04.2 LTS with Java 1.8 and Java 1.6 on my PC with Eclipse Luna and on my remote server too and I have no problem in compiling or starting servers, game clients are working too on Windows 10, 7 even on Linux via WINE. ๐Ÿ˜‰๐Ÿ‘

100% it is from your PC configurations and how Java is installed and configured. Check your configs.. GL
Locked