Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Steven Zeng
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Subhash Nambiar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to Java beginner.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic