Jump to content
  • 0
Simplicity35

What am i doing wrong?

Question

Im on my vps and i can not figure out the last part to actually start my server.

This is my run.bat file
[CODE]java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar: server.Server[/CODE]


This is what i get trying to start the server
[CODE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: server.Server. Program will exit.[/CODE]

What do i need to fix? Please somone help!

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0
[url]www.Eclipse.org[/url]

"last part to actually start my server" Lol bud, there's a ton more to it then just getting it started. I suggest you learn Java before trying. This is the easiest part.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch'][url]www.Eclipse.org[/url]

"last part to actually start my server" Lol bud, there's a ton more to it then just getting it started. I suggest you learn Java before trying. This is the easiest part.[/QUOTE]

[quote name='woofdawg']id highly advise eclipse[/QUOTE]I highly advise against that. Try [URL="http://netbeans.org"]Netbeans[/URL] ;)

Share this post


Link to post
Share on other sites
  • 0
[quote name='Arix']I highly advise against that. Try [URL="http://netbeans.org"]Netbeans[/URL] ;)[/QUOTE]

Are NetBeans and Eclipse both sexy and amazing and awesome and do cool shit? ya. It depends on the programmer not the program ;p

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']Are NetBeans and Eclipse both sexy and amazing and awesome and do cool shit? ya. It depends on the programmer not the program ;p[/QUOTE]

don't mention eclipse around arix..

Share this post


Link to post
Share on other sites
  • 0
[quote name='Fall Out']don't mention eclipse around arix..[/QUOTE]

it's k, I have his nudes

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']Are NetBeans and Eclipse both sexy and amazing and awesome and do cool shit? ya. It depends on the programmer not the program ;p[/QUOTE]Let's just say Eclipse is a wooden screwdriver.
[quote name='Fall Out']don't mention eclipse around arix..[/QUOTE]Don't mention eclipse at all. [url]www.ihateeclipse.com[/url]
[quote name='falconpunch']it's k, I have his nudes[/QUOTE]pls

Share this post


Link to post
Share on other sites
  • 0
Yes download eclipse ide for java developers. much better.
include all the jars through the ide. :)

Share this post


Link to post
Share on other sites

×