aspose file tools*
The moose likes Beginning Java and the fly likes how can i make a java application to be like a exe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how can i make a java application to be like a exe" Watch "how can i make a java application to be like a exe" New topic
Author

how can i make a java application to be like a exe

Steven Zeng
Ranch Hand

Joined: Jan 15, 2002
Posts: 41
Hello ,i want to know that if i made a program of java application (some classes) ,how can i let them to be used on the windows platform without using javac or other java command in jre. i just want the applicaion appear like a .exe program on windows platform, and i can hit the icon of the program (exe) to activate it.

if someone can help me ,please write to me:
java_zl@sohu.com



SCJP2
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
This should really go in "Java Beginner"...
What you want is a Java compiler. There are a number of them on the market. Do a google search and you'll find several. A popular one is TowerJ (www.towerj.com). Another is JOVE from Instantiations (http://www.instantiations.com/jove/product/thejovesystem.htm).
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Subhash Nambiar
Greenhorn

Joined: Jan 11, 2002
Posts: 26
Hello
U can serve ur purpose by making a file and write the Java command in it for eg
java -classpath loc filename
where loc is the location(like c:\output) where ur application needs to take its class file from.
and filename is the name of the class file which u have to run i.e which contains main() method.
and save the file with .bat extention.
You can also make a shortcut of that .bat file in the desktop, clicking on which makes ur appln functioning.
And also there r tools which converts the .bat file into exe file so once exe is made nobody can edit the contents of the file.
regards
Subhash
Steven Zeng
Ranch Hand

Joined: Jan 15, 2002
Posts: 41
Thnak you very much firstly.And I am really a java beginner, I am very interested in websphere .Are you kind enough to tell me some thing about this product,for exaple,quick start.Maybe if i can prove its goog performence to my employer,our company will consider purchase this product,becuase we have been customer of IBM.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
Websphere is a application server created by IBM to help implement enterprise systems using J2EE specifications.
The best app server at this point is WebLogic from BEA systems. You can stick with Websphere as long as its present functionalities are sufficient for your project.
You have to concentrate on different aspects of J2EE like Servlets,Jsps,Ejbs, JDBC etc before deciding how to implement your project.
There is a good book "Core J2EE patterns" which can guide you through right development practices once you are familiar and comfortable with above mentioned technologies.
The learning curve is steep because of the number of aspects you have to be comfortable with, but at the end of it the fruits are endless.


Kishore
SCJP, blog
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
I'm sorry, but I would strongly disagree that WebLogic is the best application server! It all depends on what you need. If integration with other IBM products (like DB2 & MQ Series) is important, then WebSphere is far superior. Also, if you care about performance, then WebSphere is also the proven leader in the J2EE application server field.
If you are interested, simply visit the IBM Software site and click on the WebSphere link to find out more about WebSphere. Also, I'd STRONGLY recommend buying a basic book on J2EE before diving into Core J2EE patterns -- that is an advanced and not a beginning text. (However, I will agree that it's wonderful). In fact, my book covers both the introductory level stuff and the WebSphere specifics if you're interested.
Kyle
[ January 18, 2002: Message edited by: Kyle Brown ]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Moving this to Java beginner.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i make a java application to be like a exe
 
Similar Threads
Converting Java Programme to appliation
Not a valid 32 bit application
how to make a java program instalable file??
.exe file for Java Application
how to automate a java program