You sure you're using the right main class?
I'm not familiar with that source so I don't know which it is.
Better to ask someone who knows how to use that source.
|
New to coding sorry for ignorance, is probably basic but I just want a starter server and i can't seem to make a .jar file in jar maker so i've been told to use eclipse.
However.
When i put both my source and client in eclipse and then click
run as 'java application' - 'server - ardi'
then I try initialize and i get
'error - could not find or load main class ardi.server'
So I'm assuming I'm either clicking the wrong option and it shouldn't be server-ardi or theres a broken path somewhere that I can make it so they run together? I'm not sure.
Can anyone help me at all?
Pictures that might show something obvious:
client initializer
source initializer
You sure you're using the right main class?
I'm not familiar with that source so I don't know which it is.
Better to ask someone who knows how to use that source.
How would you know this?
We've got the server online and ran it off hamachi as a test as it easiest.
For JarMaker we just put in the file locations we wanted it in and the basic details and followed a little guide the creater left as best as we could.
"To obfuscate, put the .jar in here BEFORE YOU SIGN IT.
Go to proguard>proguard>bin>proguardgui.bat
When it opens, in bottom right corner, load configuration.
Go to Obfuscation/proguard and use Os-Kingdom"
Was hard to follow but could you make any better sence of this than we could? we put the file location in the location of these notes and ran that program before clicking jar sign or whatnot but it still didn't load as a .jar file. Some guides were saying to delete all .jar files which didn't help either.
Just use Eclipse.
I tried and got a 'couldn't find or load main class' error on the initializer and the compiler broke also, never coded before and trying to use this as a starter. Found it too confusing and not a decent guide out there that matched the source and client I have. However if you know a decent guide or source of information I'm all ears
Right click your server folder and select Run as>Java Application and then when a list pops up look for Server, select that and press okay and it should work.
As for the client just do the same but instead of Server look for Client.
This is all in eclipse btw.
add my skype: adamdehbest i'll help you after work.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |