Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem with JAR File

  Asked By: Howard    Date: Dec 09    Category: Java    Views: 780
  

i have a problem in creating Jar file.
problem 1: - when my application starts i take server
name input from user and write it into a newly created
file.when my application starts again it check that
file if it is there then it read the data written in
it.
problem is:- when i made the JAR file. my application
is not able to read any thing from that file and every
time it creates a new file.if file already exist the
it overwrite it.

problem 2: application is consist of many forms .My
jar file is not able to run a form on which have
icons.

so please tell me the procedure to create JAR file for
an application .
wht i m doing :-

c:\application\dir/p
resources dir
Configure java file -<this
class containing main function
Configure class file
LoginWidnow java file
LoginWindow class file
- - - - - - - - - - - - - - -
-- - - - - - - - - --
- - - - - - - - - - - - - - -
first i create a manifest file with mf extention in
which i write these codes
Manifest-Version: 1.0
Main-Class: Configure

after this i create Jar file
please reply me as soon as possible

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Problem with JAR File Or get search suggestion and latest updates.




Tagged: