|
-
Aug 7th, 2007, 04:38 AM
#1
Thread Starter
Member
-
Aug 7th, 2007, 12:29 PM
#2
Re: How to package a JSwing app?
JAR files are executables, users only need the JRE to run them
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Aug 8th, 2007, 02:49 AM
#3
Thread Starter
Member
Re: How to package a JSwing app?
Yeah,
So can a Swing application be packaged into a Jar and run in the same way?
I've tried this already but doesn't seem to work.
How else can a Swing app be executed?
-
Aug 8th, 2007, 12:11 PM
#4
Re: How to package a JSwing app?
So can a Swing application be packaged into a Jar and run in the same way?
Yes, you just need to use the command line correctly.
Example 1: to archive two class files into an archive called classes.jar:
jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
files in the foo/ directory into 'classes.jar':
jar cvfm classes.jar mymanifest -C foo/ .
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Aug 17th, 2007, 02:42 AM
#5
Thread Starter
Member
Re: How to package a JSwing app?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|