The Artima Developer Community
Sponsored Link

Java Answers Forum
.class to .exe

3 replies on 1 page. Most recent reply: Jun 23, 2003 5:43 AM by Nguyen Minh Dung

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
thomas

Posts: 1
Nickname: thomas09
Registered: Jun, 2003

.class to .exe Posted: Jun 14, 2003 5:18 AM
Reply to this message Reply
Advertisement
how do i convert a .class file compiled by the javac compiler into a self executable (.exe) application


Sriram Srinivasan

Posts: 3
Nickname: purdyhappy
Registered: Jun, 2003

Re: .class to .exe Posted: Jun 16, 2003 10:18 PM
Reply to this message Reply
Have you seen the Excelsior Jet program. It works nicely.
They have a free personal edition.

http://www.xlsoft.com/en/products/jet/index.html

Also, the gcc project has gcj, an ahead of time compiler that can convert both java source as well as byte-code to executable. It is work in progress.

I'm curious about your reasons for this requirement. The java VM performs just as well or better for most things that I have tried it out for, including a compiler I wrote. It is portable too.

levin

Posts: 1
Nickname: mercy
Registered: Jun, 2003

Re: .class to .exe Posted: Jun 18, 2003 5:12 AM
Reply to this message Reply
I have the interesting of your compiler,
Is the obj file executable without Jvm?
I also wrote a word analyser in java.
nice to touch with you levin_lw@hotmail.com

Nguyen Minh Dung

Posts: 1
Nickname: asian
Registered: Jun, 2003

Re: .class to .exe Posted: Jun 23, 2003 5:43 AM
Reply to this message Reply
Dear thomas

I am Nguyen Minh Dung, from Vietnam.

I used Borland JBuilder (cracked version - because I am a studen and have not enough money to purchase it).

First, you create a project, and write your application, run by JBuilder, and sastify you work.

Second, from menu Wizards, you choose Archive Builder, it will ask you many type of file that you want to create from your project. To create .exe, you choose Native Executable, and do following step after that.

Last, for example you created a Native Executable name thomas, please click right mouse to it, choose make or rebuild (or both,first one before the second). It will make a .exe for you.

I am a student, very glad to make friend with you.
My email: dung_bk@yahoo.com
For new information, please send me via email, and we study Java with each other.

Thank you!
Good luck and good bye!
Nguyen Minh Dung

Flat View: This topic has 3 replies on 1 page
Topic: Customizing the Method Area of a JVM Previous Topic   Next Topic Topic: Write a loop that prompts user for a year

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use