Register and join over 40,000 other developers!
Recent Topics
-
Why is There No Delete Account Option?
deleteMyAccount - Apr 15 2018 07:08 PM
-
Why is There No Delete Account Option?
deleteMyAccount - Apr 15 2018 07:08 PM
-
Salis is an artificial life simulation, based on Tom Ray's Tierra.
nino - Apr 12 2018 09:13 AM
-
What ASP.NET Boilerplate is Not?
dasswadesh - Jan 30 2018 03:16 AM
-
How do you choose best company for android app development?
Amyrivers - Oct 17 2017 01:24 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- import
- syntax
- hardware
- asp.net
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- programming
- javascript
- android
- css
- assembly
- form
- c
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- setup
- sql
- help
- python
- combobox
- binary
- game
- hello world
- grid
- innerHTML

Creating an Executable Jar File
Started by TALucas, Dec 14 2008 07:35 PM
31 replies to this topic
#13
Posted 14 January 2010 - 11:03 AM
I recently came across an application that will convert .jar files to windows .exe files.
http://viralpatel.ne...converting.html
http://viralpatel.ne...converting.html
Your thoughts are the architects of your destiny.
Recommended for you: Get network issues from WhatsUp Gold. Not end users.
#14
Posted 14 April 2010 - 03:32 AM
nice tutorial...
One more thing ...
I've noted that when using Netbeans, .jar file is created when you build your application. if i want executable jar file of my application, can i just take the same generated jar file, or should i create my own like you did. I mean whats the difference between that jar file created by netbeans and the the one i'll creat manually via the prompt?
One more thing ...
I've noted that when using Netbeans, .jar file is created when you build your application. if i want executable jar file of my application, can i just take the same generated jar file, or should i create my own like you did. I mean whats the difference between that jar file created by netbeans and the the one i'll creat manually via the prompt?
#15
Posted 17 April 2010 - 06:00 PM
Good question. I've not used NetBeans before, so not sure. My "guess" would be that you could use it. It would be easy to test...just double click and see if it works. With this method you probably wouldn't have control on what other files were included in the .jar file.
Your thoughts are the architects of your destiny.
#16
Posted 19 April 2010 - 02:14 AM
It would be easy to test...just double click and see if it works.
i've tested it. when i double click it, the application just runs as expected. I went on to extract the .far file,.. it contains the class files and opening the manifest file reveals this:
Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 16.0-b13 (Sun Microsystems Inc.) Main-Class: myApp.myClass Class-Path: X-COMMENT: Main-Class will be added automatically by build
#17
Posted 14 June 2010 - 03:16 PM
Lol true that WingedPanther and lolz, take more advanced classes! Nice tutorial
#18
Posted 06 July 2010 - 09:54 AM
really great dude...
#19
Posted 06 July 2010 - 10:29 AM
raghu, were you able to get the .jar files working?
Your thoughts are the architects of your destiny.
#20
Posted 06 July 2010 - 06:49 PM
raghu, were you able to get the .jar files working?
Yes dude..

#21
Posted 16 July 2010 - 06:04 AM
I recently came across an application that will convert .jar files to windows .exe files.
Convert Jar to EXE, jar file to executable, java JAR to EXE. Converting Jar to exe. | ViralPatel.net
That software just (super simplified) attaches a JRE to the jar and changes the extension to exe, right?
#22
Posted 16 July 2010 - 06:13 AM
That software just (super simplified) attaches a JRE to the jar and changes the extension to exe, right?
I'm not sure how the software works. If I were to GUESS, I'd say that it converts the data in the .jar to actual executable code.
Your thoughts are the architects of your destiny.
#23
Posted 25 September 2010 - 04:30 AM
Wow great help, thanx alot

#24
Posted 12 November 2010 - 11:30 AM
Thank's easier then I thought.+rep
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download