How to make Like on exe
Dear sir
I have created one Account Management System using Swing. Now i would like to bandel all my files lets say Database and all the classes and the Images together as Exe. so that when the user click on that it will install my Software.
Please help me By providing this Information. Since i am new to java
Thank you
[345 byte] By [
jofin123a] at [2007-11-26 17:29:29]

# 1
Bad idea! You want to bundle a database? Good luck.Have a look at this tutorial: http://java.sun.com/docs/books/tutorial/deployment/index.html
# 2
Thank you I have got some idea to go aheadThank you very much
# 3
I have a Form having the JTable which displays records from Database. when i add new record the JTable should show the Newly added record.I don't know how to refresh the JTable. Please help meThank you for your service
# 4
This is a completely different question from the title.So open a new thread for this, and post a [url http://homepage1.nifty.com/algafield/sscce.html]SSCCE[/url] because I don't have any problem seeing the newly added record in my code.
# 5
Hi
I Have been trying the ideas which were given in the forum. But still i am facing problem with runing jar files
I have added all the class files into a jar file Called Project.jar Using this command jar cvf Project.jar *
and then i created on text file called Manifest.txt and Entered the Following
Main-Class: Visitors = where Visitors is a Main class holds The public static void main(String arg[])
Signature
And the i executed this command jar cmf Project.jar Manifest.txt
Now it created on Directory called META-INF in my current Directory
Then i double clicked on the Project.jar File
now It says Failed to load Main-Class manifest attribute from C:\Documents and settings \Learning\Project.jar
Please help me on this Issue
Thank you for you service
Cheers
Jofin
# 6
Hi is there anybody to help me on this issue
I Have been trying the ideas which were given in the forum. But still i am facing problem with runing jar files
I have added all the class files into a jar file Called Project.jar Using this command
jar cvf Project.jar *
and then i created on text file called Manifest.txt and Entered the Following
Main-Class: Visitors = where Visitors is a Main class holds The
public static void main(String arg[])
Signature
And the i executed this command
jar cmf Project.jar Manifest.txt
Now it created on Directory called META-INF in my current Directory
Then i double clicked on the Project.jar File
now It says Failed to load Main-Class manifest attribute from C:\Documents and settings \Learning\Project.jar
Please help me on this Issue
Thank you for you service
Cheers
Jofin
# 7
Hi guys
I got the Solution ,
Some one told me that it is not posible to Bundle the Database also into jar file But i tryied out it is working well.
I am giving the Solution here.
1) Go to the Directory where you Class files are stored
2) Open a text file and type this line Main-Class: Name-Of-Your-MainClass
=> that is in which class you are using this public static void main(String arg[])
Signature
3) Press Enter
4) Save this with extension .mf (Manifest.mf)
5)Save that under the same directory where your class files are stored
6) Type the following command
jar cvfm Example.jar Manifest.mf *
7) This will create a Example.jar File
This works well for me