How To Create Java Exe
Create one folder name as Bin
In folder create one any project name as suppose King.java
compile it &Run it
create one txt name as same King.txt
save it in Bin Folder in that txt write "Main-Class: King"
After king press ENTER key 3-4 times save it in bin
Go to cmd run project named as King.java
Following step for run project
javac King.java
java King
command for create exe of Java
"jar cfm tidbit.jar King.txt King.class"
so done see in Bin Folder King.jar is present
good day just enjoy Java Programming
No comments:
Post a Comment