Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Making Java into .exe programs
Reply
Old 10-31-2009, 01:38 PM   #1 (permalink)
 
Newb Techie

Join Date: Oct 2009

Posts: 1

jdclark2 is on a distinguished road

Thumbs down Making Java into .exe programs

So I have taken several years of java programming in school(a couple in college) but the pace is a bit slow and I haven't come across anything yet about how to turn the code I write into actual, usable programs I can transfer to other people's computers as an .exe file or some such.
What would be the best way of transferring code(mostly simple programs with simple GUI's) to .exe files? Does the best method change depending on how in-depth the GUI is? Or are some methods better than others for all projects? I feel like I can do a lot in Java, but that I am still a noob in the ways of actual software development. That's probably because I am I guess.
Any pointers?
jdclark2 is offline   Reply With Quote
Old 10-31-2009, 03:24 PM   #2 (permalink)
 
Monster Techie

Join Date: Mar 2008

Location: Logan, WV

Posts: 1,765

wafflehammer is on a distinguished road

Send a message via AIM to wafflehammer
Default Re: Making Java into .exe programs

well if you're so good why don't you know how to do this already?? just joking

uhm first semester computer science major so i don't know much in the way of it yet so i don't know about it either :\ I do know that the compiler we use (bluej) has an option to make .jar files :\ but nothing in the way of .exe

uhmm after a quick google search most people mention having to have a java virtual machine , some say some compilers can do it, and some say you have to convert it to a form of C and then do it :| but again I don't know any of this myself :\

and maybe if you're wanting to know...ask your profressor(that is, if you're still in school)
__________________

Core i7 920 @ 3.0Ghz
GIGABYTE GA-EX58-UD5
6gb G.Skill 1600mhz/9-9-9-24
Corsair 750XT
EVGA GTX 260---216core
WD 640gb
14590 3dmarks @ stock
wafflehammer is offline   Reply With Quote
Old 10-31-2009, 09:39 PM   #3 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Making Java into .exe programs

JSmooth - Java Executable Wrapper
office politics is offline   Reply With Quote
Old 10-31-2009, 09:58 PM   #4 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Making Java into .exe programs

Another way to share executable programs made with Java is to create Java packages, which can be done from IDEs such as Eclipse and NetBeans. They are not EXEs but are executable providing the destination machine after the transfer also has JDK and JRE Runtime Environment installed.
__________________
  • Operating system(s) : Windows 7 Home Premium x64 | Ubuntu 9.10
  • CPU : Pentium Dual-Core E5200 @ 2.50GHz /Socket 775 LGA
  • Memory: 2X 2GB DDR2 SDRAM
  • Hard drive: 640 GB Western Digital Caviar Blue 7200rpm WD6400AAKS-75
  • Motherboard : Dell 0U880P
  • Video: nVidia GeGorce 8400GS
  • Chipset : Intel G41

<<<<< If you found anything I said helpful, please click the or under my avatar
oldskool is offline   Reply With Quote
Old 11-04-2009, 04:00 AM   #5 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Making Java into .exe programs

Don't make your java programs into exes that's not how it works, if you want a windows installer then NSIS Wiki
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline   Reply With Quote
Old 11-07-2009, 11:15 AM   #6 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Making Java into .exe programs

Right, and like I said above, the OP can use Java apps across several platforms but as kmote said, don't make them EXE's, instead keep them as .java files along with their support files, which is usually packed from the IDE being used. Then the client machines must have Java installed to run them but that isn't a problem to install as we all know.
__________________
  • Operating system(s) : Windows 7 Home Premium x64 | Ubuntu 9.10
  • CPU : Pentium Dual-Core E5200 @ 2.50GHz /Socket 775 LGA
  • Memory: 2X 2GB DDR2 SDRAM
  • Hard drive: 640 GB Western Digital Caviar Blue 7200rpm WD6400AAKS-75
  • Motherboard : Dell 0U880P
  • Video: nVidia GeGorce 8400GS
  • Chipset : Intel G41

<<<<< If you found anything I said helpful, please click the or under my avatar
oldskool is offline   Reply With Quote
Old 11-07-2009, 12:20 PM   #7 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Making Java into .exe programs

I think you mean .jar, but yes.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline   Reply With Quote
Old 11-07-2009, 12:36 PM   #8 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Making Java into .exe programs

Well actually I meant don't try to save the app as an exe, keep it as a .java and save it as a .jar, yes. Thanks for the clarification if I was vague
__________________
  • Operating system(s) : Windows 7 Home Premium x64 | Ubuntu 9.10
  • CPU : Pentium Dual-Core E5200 @ 2.50GHz /Socket 775 LGA
  • Memory: 2X 2GB DDR2 SDRAM
  • Hard drive: 640 GB Western Digital Caviar Blue 7200rpm WD6400AAKS-75
  • Motherboard : Dell 0U880P
  • Video: nVidia GeGorce 8400GS
  • Chipset : Intel G41

<<<<< If you found anything I said helpful, please click the or under my avatar
oldskool is offline   Reply With Quote
Old 11-08-2009, 10:44 AM   #9 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Making Java into .exe programs

Quote:
Originally Posted by office politics View Post
I thought I would check this out, office. Looks interesting, I will have to try it.
__________________
  • Operating system(s) : Windows 7 Home Premium x64 | Ubuntu 9.10
  • CPU : Pentium Dual-Core E5200 @ 2.50GHz /Socket 775 LGA
  • Memory: 2X 2GB DDR2 SDRAM
  • Hard drive: 640 GB Western Digital Caviar Blue 7200rpm WD6400AAKS-75
  • Motherboard : Dell 0U880P
  • Video: nVidia GeGorce 8400GS
  • Chipset : Intel G41

<<<<< If you found anything I said helpful, please click the or under my avatar
oldskool is offline   Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updates for Java eliminate many security holes Trotter Browser & General Internet Questions 1 07-11-2008 09:54 PM
can someone help heres a hijack log icemanWST HijackThis Logs (finished) 10 06-11-2008 10:21 PM
Virus just wont go away... help needed mark1413 Virus - Spyware Protection / Detection 8 01-07-2008 03:40 PM
P2P programs that don't use Java MichiyoYoshiku Browser & General Internet Questions 2 07-22-2007 03:37 PM