| I Have Problem With The Client! | |
|
|
Author | Message |
---|
Zero
Posts : 17 Join date : 2009-06-10 Age : 31 Location : Tennessee
| Subject: I Have Problem With The Client! Wed Jun 10, 2009 11:36 pm | |
| I can download it fine and all but when i try to run it says:
Exception in thread "main" java.lang.NoClassDefFoundError: client Caused by: java.lang.ClassNotFoundException: client at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: client. Program will exit. Press any key to continue . . .
So if you could help id love it. Thanks! | |
|
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Thu Jun 11, 2009 6:00 am | |
| - Zero wrote:
- I can download it fine and all but when i try to run it says:
Exception in thread "main" java.lang.NoClassDefFoundError: client Caused by: java.lang.ClassNotFoundException: client at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: client. Program will exit. Press any key to continue . . .
So if you could help id love it. Thanks! Try ensuring the run command is in the folder with the rest of them, not separately (In the client folder rather than just the main) and then use the Run with GUI batch command and tell me what happened Also, this has been moved to the technical help section | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| |
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Sun Jun 14, 2009 8:29 am | |
| - rasalum wrote:
- i can down load it fine but when i hit run and command promp pops up and it closes instantly not letting the client come up and load at all hapneds with any client i use but all web client on browser work fine.
When that happens, right click the run bat file edit it with notepad, and add the line pause on its own at the very bottom, then run it and post that you get | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| Subject: Re: I Have Problem With The Client! Sun Jun 14, 2009 7:39 pm | |
| @echo off COLOR 09 title DragonLegion @echo DragonLegion Client @echo ----------------------- java -Xmx1000m -cp .;Theme.jar Gui 0 0 highmem members 32
Last edited by rasalum on Mon Jun 15, 2009 6:43 am; edited 1 time in total | |
|
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Sun Jun 14, 2009 8:01 pm | |
| - rasalum wrote:
- @echo off
COLOR 09 title DragonLegion @echo DragonLegion Client @echo ----------------------- java -Xmx1000m -cp .;Theme.jar Gui 0 0 highmem members 32
What are you clicking to run it? | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| Subject: Re: I Have Problem With The Client! Sun Jun 14, 2009 9:02 pm | |
| dragonlegion v1.2 folder on desktop = then folder in that one = then there is 2 options client and run = i right clicked on run and hit edit came up with the note pad copyed this to forum post @echo off COLOR 09 title DragonLegion @echo DragonLegion Client @echo ----------------------- java -Xmx1000m -cp .;Theme.jar Gui 0 0 highmem members 32
Last edited by rasalum on Mon Jun 15, 2009 6:42 am; edited 1 time in total | |
|
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Mon Jun 15, 2009 5:41 am | |
| Take the run you found, place it in the client folder, then open that folder, and run the one that says client with GUI | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| Subject: ok..ok..ok..ok.............found problem now just need how to fix it Mon Jun 15, 2009 6:19 am | |
| ok it looks like zeros but its all with classpath and path in the enviroment variables how do i set them to run correctly on windows xp for client to work took me 4 hours just to find the problem lmfao!!! i am so clueless at this stuff.... and wut u said to do it does same thang closes instantly mine says unknown like his because java isnt being recodnised by the dns prompt i think thats wut its called | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| Subject: notepad error for client Mon Jun 15, 2009 6:40 pm | |
| DragonLegion Client --------------------------- "java" is not recognized as an internal or external command, operable progam or batch file. Press any key to continue. . . Terminate batch job < Y/N>? | |
|
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Mon Jun 15, 2009 6:52 pm | |
| k, we'll try setting the right PATH and CLASSPATH, first I'd suggest updating to the latest version of java and java DK first tho Java Version 6.14JRE Version6.14 | |
|
| |
rasalum
Posts : 22 Join date : 2009-06-13 Age : 32 Location : sw burnett ct beaverton, or
| Subject: ok half done Tue Jun 16, 2009 3:55 pm | |
| - Anakha wrote:
- k, we'll try setting the right PATH and CLASSPATH, first I'd suggest updating to the latest version of java and java DK first tho
Java Version 6.14 JRE Version6.14 i downloaded and installed both with my moms help she fixed that. now just gota fix the CLASS and CLASSPATH. and ty so damn much for the help id hug u to death if i ever met u. no web site has given this much help... | |
|
| |
Anakha Forum Owners
Posts : 142 Join date : 2009-05-23 Location : Behind You.
| Subject: Re: I Have Problem With The Client! Tue Jun 16, 2009 5:30 pm | |
| Try this for your Class Path and Path - Code:
-
CLASSPATH
CLASSPATH=C:\Program Files\Java\jdk1.6.0_14\bin;%CLASSPATH%;
PATH
C:\Program Files\Java\jdk1.6.0_14\bin;%systemroot%\system32
Before doing that tho, ensure that the location said in those 2 statements matches up with the location of them both in your system (for example the only thing that would change on my computer is routing it to the D drive instead of the C Drive, as D is my main drive) In case you didn't know where to find the variables, Right click your my computer Shortc, Choose the Tab "Advanced", click the button saying "Environmental Variables" At the bottom. Under system variables, click the New button (If the PATH and CLASSPATH don't exist, or find them both, and edit them. Make sure both names are PATH and CLASSPATH. If you already knew that bit above, my apologies for boring you, but not everyone does ^_^ | |
|
| |
Sponsored content
| Subject: Re: I Have Problem With The Client! | |
| |
|
| |
| I Have Problem With The Client! | |
|