Results 1 to 12 of 12
Thread: class.java to class.exe
- 07-10-2008, 12:24 AM #1
- 07-10-2008, 01:00 AM #2
- 07-10-2008, 08:54 AM #3
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Why you would want to, is beyond my understanding. If you want a native executable, you would be better off programming in something that is designed to produce it.
- 07-10-2008, 09:09 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think even he mentioned as class.exe, really looking that how to deploy an installation package. Because time to time we can see that lots of people worried about creating an exe file for there application, here in our community.
If not like you masijade, I'm confusing too.
- 07-10-2008, 04:44 PM #5
I feel he wants to run a .java file through a bat file, am i right?
To finish sooner, take your own time....
Nivedithaaaa
- 07-11-2008, 07:02 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 07-11-2008, 06:45 PM #7
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
in responce to this i think he wanted what i wanted, a way to create a program and be able to run it by clicking on an icon on the desktop to run the program.
But i do believe roots post answer his question.
The simplest way would be just to setup a shortcut on the desktop to the xxx.jar file..?
- 07-14-2008, 04:10 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yes, using a shortcut on the desktop is the most easiest way to do it. But if he's looking about an installation package then the story is different actually. All are here may be confusing on the original post, because he is talking about an exe file. :)
- 07-15-2008, 07:33 AM #9
Use Advance installer to create Exe file.
It will do your job..Thanks & Regards
Subroto Bhattacharjee:)
- 07-16-2008, 01:45 PM #10
Member
- Join Date
- Mar 2008
- Posts
- 28
- Rep Power
- 0
Actually why dont you provide answers for two questions
1. When we double click on the Desktop icon the java program should execute
2. How to deploy the java program i.e installation wizard like things.
- 07-16-2008, 02:01 PM #11
Its very easy
Just download Advance Installer (demo Version) from internet its free for 30 days.
After that there is option for creating a .exe file from class file.
And from there you can also select the main class(Main java.class file).
the only criteria for this that you must have java enviroment installed in your machine.
Try this..
This installer will create a .msi file.
Execute that masi file it will create an exe file.
From which your application will run as per as your requirement.Thanks & Regards
Subroto Bhattacharjee:)
- 07-16-2008, 02:24 PM #12
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
There are lots of free applications available which can be used to deploy your project. Google about that. Launch4j is one of them.
Similar Threads
-
Able to find class file in WEB-INF/classes but not after add sub folders in class dir
By vitalstrike82 in forum Web FrameworksReplies: 0Last Post: 05-13-2008, 06:16 AM -
Class Reflection: Finding super class names
By Java Tip in forum java.langReplies: 0Last Post: 04-23-2008, 08:12 PM -
Class Reflection: Finding class modifiers
By Java Tip in forum java.langReplies: 0Last Post: 04-23-2008, 08:11 PM -
what is the Priority for execution of Interface class and a Abstract class
By Santoshbk in forum Advanced JavaReplies: 0Last Post: 04-02-2008, 07:04 AM -
Accessing inner class from outer class (an example)
By Java Tip in forum Java TipReplies: 0Last Post: 02-17-2008, 09:03 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks