AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Jar File Manifests on Linux

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup
View previous topic :: View next topic  
Author Message
Chad Riddle
Guest





PostPosted: Mon Jun 28, 2004 4:00 pm    Post subject: Jar File Manifests on Linux Reply with quote



I am in the process of developing an application that currently runs
very well under Windows 98/XP. I have actually done all the
developement under Linux using NetBeans. The application works great
under both of those enviroments. However, when I try to run the
application JAR from a terminal window on Linux it does not run. It
will come up with:
LoadDriver: com.mysql.jdbc.Driver not found in [file:PPT.jar,
core:/]
Exception in thread "main" java.lang.NoSuchMethodError: method
javax.swing.JOptionPane.showMessageDialog was not found.
at _Jv_ResolvePoolEntry(java.lang.Class, int)
(/usr/lib/libgcj.so.4.0.0)
at Parks.Utils.ErrorLogger.reportError(java.lang.String,
java.lang.String, java.lang.String, boolean) (Unknown Source)
at Parks.PPT.PPTMain.openMySQLConnection() (Unknown Source)
at Parks.PPT.PPTMain.initMain() (Unknown Source)
at Parks.PPT.PPTMain.PPTMain(java.lang.Object) (Unknown Source)
at Parks.PPT.PPTMain.main(java.lang.String[]) (Unknown Source)

This is the Manifest that I am using:

Manifest-Version: 1.0
Class-Path: ./ ./AbsoluteLayout.jar ./comm.jar ./mysql-connector-java-
3.0.9-stable-bin.jar ./pvjdbc2.jar ./pvjdbc2x.jar
Main-Class: Parks.PPT.PPTMain
Name: Parks.PPT/

All class-path jars are included in the same directory as the
application jar just like on the windows machines.

Any advise would be greatly appreciate.

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.