| | |
Help me please.
![]() |
IF it's an executable jar, "java -jar <jarfile.jar>" where <jarfile.jar> is the filename of the jarfile (fully qualified if not on the current system path).
If it's not an executable jar, you can't obviously run it.
You can however run a class inside it (if it has a main method) using "java -cp <jarfile.jar> <classname>" where classname is the fully qualified classname of the class to run (so including the full package name).
If it's not an executable jar, you can't obviously run it.
You can however run a class inside it (if it has a main method) using "java -cp <jarfile.jar> <classname>" where classname is the fully qualified classname of the class to run (so including the full package name).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Other Threads in the Java Forum
- Previous Thread: converting codecs of a rtp stream
- Next Thread: Help with Netbeans (n00b inside)
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary blackberry block bluetooth character chat class client code component consumer csv database desktop developmenthelp eclipse error fractal ftp game givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list loops mac map method methods mobile netbeans newbie number objects online oriented panel printf problem program programming project projects properties recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing test textfields threads time title tree tutorial-sample ubuntu update windows working






