944,162 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 9635
  • Java RSS
Aug 25th, 2006
0

How to make .exe file for my java prg

Expand Post »
Hi all,
I want to know how to give an .exe file for my java prg.
pla help me.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
datta.saru@gmai is offline Offline
4 posts
since Aug 2006
Aug 25th, 2006
0

Re: How to make .exe file for my java prg

NativeJ is a program that can make an exe for your jar files for Windows users
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Aug 25th, 2006
0

Re: How to make .exe file for my java prg

Reputation Points: 22
Solved Threads: 11
Posting Whiz in Training
DavidRyan is offline Offline
229 posts
since Jul 2006
Aug 25th, 2006
0

Re: How to make .exe file for my java prg

Thanks for your prompt reply, but can you give me some code how i go about it?
give me a small java prg for adding 2 numbers and code for developing .exe.

Thanks a lot
Reputation Points: 10
Solved Threads: 0
Newbie Poster
datta.saru@gmai is offline Offline
4 posts
since Aug 2006
Jan 22nd, 2010
-1

here is a simple java source code

Java Syntax (Toggle Plain Text)
  1. import java.io.*;
  2. class add
  3. {
  4. public static void main(String arg[])
  5. {
  6. float c,a,b;
  7. try
  8. {
  9. DataInputStream x=new DataInputStream(System.in);
  10. System.out.println("Enter two numbers");
  11. a=Float.parseFloat(x.readLine());
  12. b=Float.parseFloat(x.readLine());
  13. c=a+b;
  14. System.out.println("sum="+c);
  15. }
  16. catch(Exception e)
  17. {
  18. }
  19. }
  20. }
Last edited by peter_budo; Jan 23rd, 2010 at 5:09 am. Reason: Keep it Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sarath_p_j is offline Offline
1 posts
since Jan 2010
Jan 23rd, 2010
0
Re: How to make .exe file for my java prg
I didn't see the dates at all. Sorry. @sarath_p_j: The OP has long gone.
Last edited by verruckt24; Jan 23rd, 2010 at 3:16 am.
Reputation Points: 485
Solved Threads: 89
Posting Shark
verruckt24 is offline Offline
944 posts
since Nov 2008
Sep 7th, 2010
0
Re: How to make .exe file for my java prg
what is the easiest way to make .exe in java.
i am a beginner, PL help me with full guide
Reputation Points: 10
Solved Threads: 0
Newbie Poster
anurag barua is offline Offline
1 posts
since Sep 2010
Sep 7th, 2010
0
Re: How to make .exe file for my java prg
Next time, please make a new thread. This thread is very old.

If you are absolutely sure you want an .exe, and there are many reasons not to, try some of the links above or just searching the terms yourself.
Reputation Points: 27
Solved Threads: 56
Posting Whiz in Training
coil is offline Offline
273 posts
since Aug 2010
Sep 7th, 2010
0
Re: How to make .exe file for my java prg
And for reference you can't make a .exe from source code you implement in java.
Only .jar and then you can use a 3rd party program to package it in .exe.
Reputation Points: 7
Solved Threads: 2
Newbie Poster
yasuodancez is offline Offline
22 posts
since Aug 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: PRG 421 Week 5 Compile problems
Next Thread in Java Forum Timeline: Java1.4 query?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC