Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2008, 05:22 AM
Member
 
Join Date: Jul 2008
Posts: 13
chris@gaiag.net is on a distinguished road
Problem running a java desktop application
I created a java desktop application which runs and debugs fine in NetBeans, but the jar file it creates does not contain the library files, so attempting to run it from a terminal window gives me this error:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group

How do I create a jar file that will run from a terminal command, i.e.,

java -jar myApp.jar

or better still, is there a way to create an application that will run in different platforms by double clicking it? I use a Mac OS 10.5 intel with java 1.6 for development.

Thanks in advance,

Chris, gaiag.net
Bookmark Post in Technorati
Sponsored Links
  #2 (permalink)  
Old 08-24-2008, 05:58 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Is this a duplicate posting? See other thread
Bookmark Post in Technorati
  #3 (permalink)  
Old 08-24-2008, 06:24 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 5,075
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quite similar thread found, but not exactly same. So I'm not delete this thread, but I have to close this.

Other thread is located here.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Sponsored Links
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
three tier Desktop Application newmember AWT / Swing 0 07-27-2008 05:10 PM
Problem in running java programs aravind New To Java 0 07-14-2008 01:19 PM
Installer for Java desktop application nitingupta183 SWT / JFace 0 03-18-2008 09:53 AM
problem while running java code.. Jjava New To Java 0 02-08-2008 08:33 AM
Running a application in java barney Java Applets 1 08-07-2007 09:12 AM


All times are GMT +3. The time now is 12:33 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org