View Single Post
Old 12-19-2004, 11:21 AM   #5 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,174
Belisarius is on a distinguished road
Here's the command I ran: "java -jar omfg.jar". It ran without output, which makes sense, as you didn't have anything in the main method. So I think the jar itself is fine; there must be a problem with your environment.

Double-check your CLASSPATH variable, and make sure that you have included ".", as that's a pretty common error that will result in Java complaining about not being able to find files. It really shouldn't matter in the case of a Jar, but you might want to double-check.
__________________
GitS
Belisarius is offline   Reply With Quote