Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2007, 03:18 PM
Member
 
Join Date: May 2007
Posts: 42
Freddie is on a distinguished road
Problems with the jar
My concrete difficulty is the following one: I develop a program for an hospital using netbeans 5.5 and when I execute it from there it me works perfectly, but when I construct a .jar and execute it, it is as if it was not finding the routes of
classpath who when it is going to initiate does not find the images that I place to the buttons , to solve this problem initially uses a program that is called launch4j that serves to create .exe native of windows from a .jar across this program if it assumes the route it creates the exe And I list everything the perfect one if it finds the route of the images ... but it turns out that for motives of stability I am going to pass the machine to linux already mount everything (database postgrest and jdk 1.5.0) but I started to having the same problem ... when I execute from netbeans everything it works well, but when I compile and execute the .jar nothing it does not find the route where I have the icons. And the worst thing is that here I cannot create .exe in windows, I believe that my problem is with the classpath but not solving it ....

If you can help me I will appreciate that
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-10-2007, 04:30 AM
Member
 
Join Date: Apr 2007
Location: USA
Posts: 50
derrickD is on a distinguished road
can you post a little bit of the code that shows how you are setting up the path to the images ? It may be a path difference between windows and linux. Lets see how you are setting it.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-29-2007, 04:50 PM
Member
 
Join Date: May 2007
Posts: 39
Nick15 is on a distinguished road
Good morning, I know a tool that maybe can helps you, it is used to create installer for java application
the installer is multiplataform (a jar) and the best thing is that soft is open source: "IzPack"
for more information:
IzPack Java Installer - start
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


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
Problems in JSP : Need help raj4u JavaServer Pages (JSP) and JSTL 1 02-07-2008 11:06 AM
GUI problems. saytri New To Java 1 12-16-2007 11:27 PM
gui problems bluebirdjc Advanced Java 2 07-23-2007 06:38 PM
a few problems gary AWT / Swing 0 07-11-2007 05:57 PM
problems with JPA Ed New To Java 2 07-04-2007 06:34 AM


All times are GMT +3. The time now is 10:58 AM.


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