Jump to content


Create .exe Files


  • Please log in to reply
24 replies to this topic

#1 SwingIsCool

SwingIsCool

    Member

  • Members
  • PipPip
  • 29 posts

Posted 22 March 2005 - 05:58 PM

I would like JCreator to be able to create windows .exe files without a third party app.  It would save a lot of time.

#2 Sahisoft

Sahisoft

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts
  • Gender:Male
  • Location:New Jersey, United States
  • Interests:Computer science. What else? :-)

Posted 22 March 2005 - 06:12 PM

I agree with you -- it would be nice to have such a feature if you want to deploy an application easily.

But there's a slight issue... What kind of .exe file exactly do you need? Do you want it to be just a wrapper executable containing a Jar file or do you want to have it compiled all the way down to native code like a C++ program?

There's a significant difference here -- making a wrapper .exe file could probably be done very easily in JCreator if they make such a feature, but compiling a program down to the native level in Java is not something that Java inherently supports, so that would be much more difficult...

#3 SwingIsCool

SwingIsCool

    Member

  • Members
  • PipPip
  • 29 posts

Posted 23 March 2005 - 05:49 AM

QUOTE(Sahisoft @ Mar 22 2005, 01:12 PM)
I agree with you -- it would be nice to have such a feature if you want to deploy an application easily.

But there's a slight issue... What kind of .exe file exactly do you need? Do you want it to be just a wrapper executable containing a Jar file or do you want to have it compiled all the way down to native code like a C++ program?

There's a significant difference here -- making a wrapper .exe file could probably be done very easily in JCreator if they make such a feature, but compiling a program down to the native level in Java is not something that Java inherently supports, so that would be much more difficult...

View Post



I was thinking of a simple .exe wrapper.  There are quite a few of them out there, but integrating them into JCreator is a pain.  Native support would be awesome, but all I want is a "Convert to exe" button on the toolbar.

#4 Sahisoft

Sahisoft

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts
  • Gender:Male
  • Location:New Jersey, United States
  • Interests:Computer science. What else? :-)

Posted 23 March 2005 - 06:12 AM

That should be pretty simple then. As a matter of fact, I would also love to have this feature, because I write lots of applications that I want to make installable.
You're right, Xinox should definitely include it! :-)

#5 jeef

jeef

    Advanced Member

  • Members
  • PipPipPip
  • 344 posts
  • Location:New Zealand

Posted 23 March 2005 - 09:56 AM

well, just find the wrapper you want and add it as a "tool" in jcreator...? same way with creating jar's
no point making your program so simple a dummy can use it cause the universe just keeps making a better dummy!

#6 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 04 May 2006 - 01:15 PM

will some one please tell me how to create executable (.exe) files on JCreator 3.5

Edited by hcooler, 04 May 2006 - 01:15 PM.


#7 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 04 May 2006 - 01:27 PM

QUOTE(hcooler @ May 4 2006, 06:45 PM) View Post

will some one please tell me how to create executable (.exe) files on JCreator 3.5


JCreator 3.5
does not have an option of creating .exe files for your Java projects.

Please consider using a third-party tool such as Launch4j which is free.

For more info see: http://launch4j.sourceforge.net/

Hope it helps!  smile.gif
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#8 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 04 May 2006 - 01:42 PM

well than how do i get them to run as programs on computers with out jcreator 3.5


#9 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 04 May 2006 - 03:25 PM

QUOTE(hcooler @ May 4 2006, 07:12 PM) View Post

well than how do i get them to run as programs on computers with out jcreator 3.5


Launch4j is not related to JCreator 3.5 in anyway. Its a completely independant product which makes .exe binary programs from your JAR files. The executable programs made by Launch4j can run without the support of JCreator, it only needs the a Java Runtime Environment.

Hope it helps!  smile.gif
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#10 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 05 May 2006 - 02:27 PM

thats cool but what do i put for the output file

#11 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 05 May 2006 - 02:49 PM

QUOTE(hcooler @ May 5 2006, 07:57 PM) View Post

thats cool but what do i put for the output file


The output file is the name that u want the .exe file to have.
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#12 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 May 2006 - 12:59 PM

could you please tell me how that works and what goes in each box or give me the totorial


#13 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 May 2006 - 01:15 PM

or could you give me a programing lang easier to make an .exe


#14 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 08 May 2006 - 02:18 PM

QUOTE(hcooler @ May 8 2006, 06:45 PM) View Post

or could you give me a programing lang easier to make an .exe


I dont understand what you're really trying to ask.

Java does not support the creation of EXEs. You need tools like Launch4j to wrap your Java JAR file with an EXE and make it executable in Windows.

You can try other programming languages like C/C++, VB, C#, etc for your "EXE making".
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#15 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 May 2006 - 04:29 PM

is there anything like jcreator 3.5 for c++

#16 E-E-R

E-E-R

    Advanced Member

  • Members
  • PipPipPip
  • 1,367 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Programming, Gaming, DC

Posted 08 May 2006 - 04:34 PM

I believe JCreator has been designed with the Microsoft IDE's in mind, so you could try Visual C++ Express 2005 (which is a free download from Microsoft).
"Many are persistently in pursuit of the way they have chosen; few in pursuit of the goal"

#17 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 May 2006 - 04:43 PM

where can i find Visual C++ Express 2005

#18 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 08 May 2006 - 04:47 PM

QUOTE(hcooler @ May 8 2006, 10:13 PM) View Post

where can i find Visual C++ Express 2005


Find Microsoft Visual C++ 2005 Express Edition here:

http://msdn.microsoft.com/vstudio/express/...lC/default.aspx
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#19 Draco

Draco

    Advanced Member

  • Members
  • PipPipPip
  • 819 posts
  • Gender:Male
  • Location:United Kingdom
  • Interests:Java duh...

Posted 08 May 2006 - 06:01 PM

BLEH i hate c++ and VS lol  Java pwnz!!!
-----------------------------------
Sun Certified Java Programmer
-----------------------------------
Java 1.5 API <---Check the specs
Google is your friend

#20 hcooler

hcooler

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 10 May 2006 - 01:50 PM

then give me a tutorial for Launch4j