The Artima Developer Community
Sponsored Link

Java Answers Forum
How to make java programme into a stand alone exe file?

7 replies on 1 page. Most recent reply: Mar 15, 2003 2:37 AM by nitin jadhav

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 7 replies on 1 page
thomas

Posts: 42
Nickname: turbomanic
Registered: Jul, 2002

How to make java programme into a stand alone exe file? Posted: Jul 26, 2002 11:02 AM
Reply to this message Reply
Advertisement
I was wondering how to make a java application into an exe file. I have the java programme as a class now what would I do?


Trelan Hylton

Posts: 6
Nickname: teejay
Registered: Jul, 2002

Re: How to make java programme into a stand alone exe file? Posted: Jul 26, 2002 8:12 PM
Reply to this message Reply
i have the same question. I even downloaded this program that might do it called 'Jexepack' but it says that it (the documentation from the website actually says so)won't compile java source to native code. only make it '.exe' so it still needs the java runtime environment. I need to make my application be repsented by an icon that can be double clicked to run it. when you find out how to do it. email me at tee_jay22@hotmail.com

Bin Zhang

Posts: 4
Nickname: matrix
Registered: Aug, 2002

Re: How to make java programme into a stand alone exe file? Posted: Aug 8, 2002 12:19 AM
Reply to this message Reply
As far as I know ,the latest version of Jbuilder 7
can change a file.java into an file.exe,but it still
needs the jvm.

Long ago,I ever tried the Vj++ 6.0,I found it can do
as you want.But it doesn't support the package
import java.swing.*;

I think if you can put the swing package into
the vj++6.0 ,all the problems will be settled.
But I still don't know the way.
If you know ,Please E-mail me:
matrixzhang@elong.com

Chi_Bin Tzeng

Posts: 2
Nickname: abin
Registered: Aug, 2002

Re: How to make java programme into a stand alone exe file? Posted: Aug 8, 2002 12:36 AM
Reply to this message Reply
You can try jar. You can execute *.jar file that double click.

Don Hill

Posts: 70
Nickname: ssswdon
Registered: Jul, 2002

Re: How to make java programme into a stand alone exe file? Posted: Aug 8, 2002 5:37 AM
Reply to this message Reply
FWIW

If this is what you really want to do then I suggest that you get a install software, this will install the jvm, create shortcuts and menu items, you will probably still want to create a wrapper in "C" that starts the java class. This is how most vendors are packaging there java apps.

HTH

thomas

Posts: 42
Nickname: turbomanic
Registered: Jul, 2002

Re: How to make java programme into a stand alone exe file? Posted: Aug 8, 2002 6:00 AM
Reply to this message Reply
thanks everyone for the help.

Totoro

Posts: 2
Nickname: totoro
Registered: Aug, 2002

Re: How to make java programme into a stand alone exe file? Posted: Aug 15, 2002 10:41 AM
Reply to this message Reply
JET is a very good tool to convert your Java program to stand alone EXE file.
http://www.xlsoft.com/en/products/development/jet/index.html

nitin jadhav

Posts: 1
Nickname: tinu
Registered: Mar, 2003

Re: How to make java programme into a stand alone exe file? Posted: Mar 15, 2003 2:37 AM
Reply to this message Reply
Give me only code of 'exe" file
how to make exe file in java

Flat View: This topic has 7 replies on 1 page
Topic: Jtable getValue Previous Topic   Next Topic Topic: Linux class path

Sponsored Links



Google
  Web Artima.com   

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