This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to run a JAVA program in non-JAVA platform

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have developed a GUI application in JAVA. The exe file was created using jExePack (tried using launch4j also). The exe is working perfectly in any Windows machine where JAVA is installed; but not in non-java machine.

Is there any way, I can make my application to be run in any Windows machine irrespective of JAVA installed or not?

Any help would be appriciated.

Thanks in advance...
 
author
Posts: 23958
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ujjal dey wrote:Hi All,

I have developed a GUI application in JAVA. The exe file was created using jExePack (tried using launch4j also). The exe is working perfectly in any Windows machine where JAVA is installed; but not in non-java machine.

Is there any way, I can make my application to be run in any Windows machine irrespective of JAVA installed or not?

Any help would be appriciated.

Thanks in advance...



This is likely because your "native compiler" isn't a true native compiler. I guess your only option is to find another native compiler to generate the exe file. One that generates a complete exe, instead of just a wrapper around the JVM.

Henry
 
roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic