• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating .exe from class file

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Is there any way that I can create .exe from class file using Netbeans? (I know some tools exist. But is there any option in Netbeans ? )
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Initials aren't enough. You can change your display name here. Thanks!

Second: this particular forum is for Java news announcements and discussion. We do have a forum for questions about IDEs, and so I'll move this thread there for you.
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The last name concept is not there in all communities in all over the world, so i think if Ranchers would like to move globaly, they should adapt themselves to the global conditions.....
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Senthil B Kumar:
The last name concept is not there in all communities in all over the world, so i think if Ranchers would like to move globaly, they should adapt themselves to the global conditions.....



The name policy actually addresses that issue:

I understand that in some cultures there is no such thing as "first name and last name" - there is just one name. If you are one of these people, I would like to humbly ask you to sacrifice a piece of your culture to help me build this culture. In the past, permitting single names has inspired less wholesome "creative" aliases. The job of keeping names professional grew exponentially. The result is that exceptions to the naming rule are no longer permitted.

 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Manivannan. P:
Hi all,
Is there any way that I can create .exe from class file using Netbeans? (I know some tools exist. But is there any option in Netbeans ? )



Now to actually address your question...

I don't know of any feature in NetBeans that allows you to create a .exe file. But then again, I don't know why you would want to, either, because .exe files only run in Windows. In my opinion a better solution is to make an executable JAR file instead. Executable JARs can run on any platform that has a JRE installed. In fact, if you are using NetBeans 4.0, it creates such a JAR for you in the dist folder of your project. If you want to run your program on a friend's computer, you just have to transfer this JAR file with your favorite medium (email, floppy disk, USB key, etc.).

If you want to learn how to create a executable JAR without NetBeans, I suggest that you google for "executable JAR".

Layne
 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See this link.

http://jsmooth.sourceforge.net/

The post author want to protect his source code. You could try that link.

Thanks
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Manivannan,
Thanks for updating your display name. Note that we require a last name not just an initial.
reply
    Bookmark Topic Watch Topic
  • New Topic