hi, friends
i have some doubt from many days..
please any one clarify it..

my doubt is,

"IS IT POSSIBLE TO CHANGE JAVA FILE TO .EXE FILE ... :?::?::?::?:?"

IF IT IS POSSIBLE HOW IT IS CONVERT...:icon_idea:

THANKS IN ADVANCE.....

Do a Google search would be a way to find out.
The problem with an exe file is that it only works with one OS.

do a google search would be a way to find out.
The problem with an exe file is that it only works with one os.

thanks for u r replaying.......

And i search in the google..
But i can't understand clear in that...

Please give any link which is understandable......
Please

thanks in advance

Sorry, I don't convert my java code to exe files so I've never tried to google it.

it is possible to convert your java file to not excatly a exe file but a similar one .bat file.which works the same as exe.
first u have to convert your java file to jar file .
thn after making a jar file
open a notepad n just write the code
-cp [ur jar file name].jar;. [your java file name]

example
-cp Demo.jar;.MyClass

after writing the code save it as a .bat extension into the same folder
example == Demo.bat

i hope if this had help you then mark your post as solved.

Sorry ! I can't understand , plz share ur experience with me !

commented: Dum-dum give me gum-gum -3

What is the problem you are having? Please explain.

i don't know is it possible or not , but by creating a jar file we can access that just like as exe.

we can access

What does "access" mean for a file?

First create another notepad file and write this as it is
Main-Class: .ClassFileName(press Enter)(from which the exe shld start.)
save it with .mf extension.

then goto command prompt
then browse to the folder in which you have your java files ththat r to be converted.
then write this command
jar cfm jarfilename.jar manifestfilename.mf *.class(press enter)