old server not running on w10
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
old server not running on w10
- 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 !
- 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 !
-
- Posts: 58
- Joined: Wed Mar 23, 2016 2:05 am
- Location: Russia
- Contact:
Re: old server not running on w10
Hi, you need Java 11 to start the server
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: old server not running on w10
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 ?
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: old server not running on w10
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 ?
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 ?
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: old server not running on w10
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 !
can i run the already compiled sever in a close environment
can i use eclipse to use it ?
have any tips ?
thanx !
-
- Posts: 58
- Joined: Wed Mar 23, 2016 2:05 am
- Location: Russia
- Contact:
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: old server not running on w10
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
- regenx
- Posts: 319
- Joined: Sat Jul 17, 2010 6:55 am
Re: old server not running on w10
Java and L2J on Windows OS, lol.
Try Linux..
![Waving :wave:](./images/smilies/icon_wave.gif)
![Crazy :crazy:](./images/smilies/icon_crazy.gif)
Try Linux..
![Thumbup :+1:](./images/smilies/icon_thumbup.gif)
![Waving :wave:](./images/smilies/icon_wave.gif)
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: old server not running on w10
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 !
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: old server not running on w10
Are you using an old version for some reason?
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: old server not running on w10
Okay, not sure how to help you, can you share the server code?puredemonsss wrote: โMon Mar 11, 2019 2:32 amhey ^_<
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
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: old server not running on w10
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.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)
- regenx
- Posts: 319
- Joined: Sat Jul 17, 2010 6:55 am
Re: old server not running on w10
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.puredemonsss wrote: โSat Mar 09, 2019 8:59 pmso 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 !
.. 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