I am using ini file in my project. while converting the java file to .jar file , my ini file is missing.
Can anyone help me to include ini file in my jar file.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I am using ini file in my project. while converting the java file to .jar file , my ini file is missing.
Can anyone help me to include ini file in my jar file.
Read the API doc for the jar command. It will show you how to include any file in the jar file when you are creating it.
If you are using an IDE, read the doc for the IDE on how to create a jar file.
deemu (March 6th, 2012)
Is it possible to convert .jar file to .java ?
A jar file is a special type of zip file.
It contains other files like .class and images etc.
You can extract its contents just like you can with a zip file.
You can use a zip utility to view a jar file's contents.
deemu (March 6th, 2012)
Ya i tried this , but ist not converting to java coding...
What do you mean by "converting to java coding"?
What files are in the jar file?