This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear All, In Visual Basic we can convert the program into exe file. In the same way is there any option in java to make the object code into executable code (for eg. xxx.class to xxx.exe). One more query, How to run an applet in java from the task bar using an icon. During execution of the applet the command prompt should not be visible (we are using appletviewer tool) Thanx in advance muthukumaran
There are two different solutions to that problem (or more that I don't know about): the first one is the tool provided at the following link: http://www.duckware.com/java2exe.html The generated executable works fine ! The drawback is that the tool is not free but you can try it ! The second solution is to use MS Java SDK which provides a way to generate an executable from Java classes. But I wouldn't use it since MS is not maintaining their Java SDK anymore. So it's up to you to figure out which solution you like, or maybe someone else will have another (better) solution to that problem. HIH ------------------ Valentin Crettaz Sun Certified Programmer for Java 2 Platform