I assume that you mom runs windows then. If you package all your bytecode in an executable .jar file and save it to the windows desktop you can run it with a simple double click. That is, if your JVM is installed correctly.

I can never remember the commandline syntax for executable jar's so you can use the JarBuilder GUI to do your dirty work if you want. http://sourceforge.net/projects/jarbuild/

   Good Luck!

Nick

----- Original Message ----- From: "Alex Esplin" <[EMAIL PROTECTED]>
To: "BYU Unix Users Group" <[email protected]>
Sent: Wednesday, October 19, 2005 10:16 PM
Subject: [uug] making a java class file executable?


Hey all,

Does anybody know how to take a java package and make it an
executable?  I told my mom about Boggle from CS 235 and she wants to
try it, but I don't think I'm gonna have any luck in talking her
through getting it to work on the command line anytime soon.  I know
that in linux, I could just make a custom command and assign it to
some arbitrary icon, but the command would have to be set up for the
classpath of the package, and I wouldn't have any way to be sure of
that.

Thanks,
--
Alex Esplin

--------------------
BYU Unix Users Group
http://uug.byu.edu/

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list




--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to