|
|
running jaimbot on OS X
|
|
|
|
Addicted to MacNN
Join Date: Sep 2000
Status:
Offline
|
|
http://jaimbot.sourceforge.net/
Got this little toy compiled and configured. But it doesn't run as per:
http://jaimbot.sourceforge.net/start/run.html
I get the following
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: com/levelonelabs/aimbot/AIMBot
Any ideas? Is it the fault of Mac OS X? Or jaimbot? Anyone know how to get it working?
It's java, so I thought it wouldn't need to be ported.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
It's a java classpath issue. The jar that you run has to be in your classpath.
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Ok, so I looked into it. It does not work because the example uses semicolons in the classpath -- which works fine on Windows. But on OSX or Linux or UNIX you use colons instead. This shell script works perfectly:
Code:
#!/bin/sh
java -classpath "jaimbot-1.3.jar:lib/rdf-1.0.jar:lib/megahal-1.0.jar:conf" com.levelonelabs.aimbot.AIMBot
[edit: forgot to close my code block]
(
Last edited by Arkham_c; Sep 2, 2003 at 09:23 AM.
)
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Sep 2000
Status:
Offline
|
|
Originally posted by Arkham_c:
Ok, so I looked into it. It does not work because the example uses semicolons in the classpath -- which works fine on Windows. But on OSX or Linux or UNIX you use colons instead. This shell script works perfectly:
Code:
#!/bin/sh
java -classpath "jaimbot-1.3.jar:lib/rdf-1.0.jar:lib/megahal-1.0.jar:conf" com.levelonelabs.aimbot.AIMBot
[edit: forgot to close my code block]
Cool, thanks.
For my knowledge...
Is this a Java issue. Or is this a shell issue? Is it Java that doesn't like the semicolons... or the OS shell?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jan 2000
Status:
Offline
|
|
Originally posted by macvillage.net:
Cool, thanks.
For my knowledge...
Is this a Java issue. Or is this a shell issue? Is it Java that doesn't like the semicolons... or the OS shell?
The shell. Notice what happens when you do:
% cd /etc; ls -la
The semi-colon is a delimiter between commands.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Sep 2000
Status:
Offline
|
|
Originally posted by fitter:
The shell. Notice what happens when you do:
% cd /etc; ls -la
The semi-colon is a delimiter between commands.
makes sense.
thanks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|