Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> How To Create Exe File In Java?
qwijibow
post Aug 20 2006, 07:12 PM
Post #11


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570





To Answer the origonal question:
"How To convert java source code into an executable (.exe)"

The Answer is simple, Compile it ! ( just like any c/c++ source code )

i dont think SUN have a native java compiler ( javac convers the source to bytecode, to be later run by an interprever ( java ))

However, native java compilers do exist.

For Example GCJ ( part of GCC, the GNU Compiler Collection )

Nativly compiling a java application has its advanatges, for example, you dont need to have JRE installed, but you lose the abbility to "compile once, run on any operating system"

good luck.

Go to the top of the page
 
+Quote Post
iGuest
post Feb 26 2008, 11:37 AM
Post #12


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



how to connect an .EXE file through java environment
How To Create Exe File In Java?

Hello friends,

I want to connect an EXE file of cisco software PACKET TRACER using java program, if anyone of you have an idea then please share with me.

Thanks

-question by vidhu jauhri
Go to the top of the page
 
+Quote Post
Habble
post Mar 15 2008, 09:23 PM
Post #13


Premium Member
Group Icon

Group: [HOSTED]
Posts: 286
Joined: 17-June 07
From: Tasmania
Member No.: 22,699



The way i use is a program called JSmooth


dont know the website but you can just goooogle it



It takes all the class files and packages them in an exe file, and when executed searches for the JVM, so you still need to have the JVM on the users computer, but it also has an option to include the JVM ( that would be a big file )

anyways check it out, might suit your needs as long as ur programs arent too big....


note: i think there is a big in there, you might have to put all ur class files in jar files and have it read them from the jar file for it to work correctly, you might even have to set up the manifest in the jar file to make it be able to execute as a jar if you want it to execute as an exe, not sure though you should test around with it




I dont even know what he means by that Lol
Go to the top of the page
 
+Quote Post
iGuest
post Sep 6 2008, 07:52 AM
Post #14


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



Try Advanced Installer
How To Create Exe File In Java?

Replying to vicky99 You can try advanced installer if you still didnt get any solution.

-reply by Triguna
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. java.lang.NullPointException(4)
  2. Using system date in java... How?(5)
  3. Java Unlimited(14)
  4. Array Sorting(21)
  5. What Are The Advantages Of Java Vs C++?(15)
  6. Need Help: Find Lowest Character Using Java(7)
  7. Download Java Ebooks(15)
  8. Java By Example(8)
  9. Video Streaming In Web Browser Through Java Or Jsp(1)
  10. Looking For A Java IDE(25)
  11. On Why Java Is 'c'ooler!(10)
  12. Other Sound Format Support(3)
  13. Java Phone Book(2)
  14. How Do I Test A Java Aplication(11)
  15. Need To Modify Xml Attribute Using Java(4)
  1. Bluetooth And Java(5)
  2. Java Sdk Vs. Java Jdk?(2)
  3. Graphcal User Interfaces In Java(4)
  4. Java Db Help Pls(2)
  5. Loading 3d Models In Java?(2)
  6. Java Applet Loading Error(5)
  7. Setting Up Java Correctly(8)
  8. Java Java.security.accesscontrolexception(6)
  9. Use Of Xml Properties File For One Key - Multiple Value Mapping(0)
  10. Simple Java Question(3)
  11. Java And Sql: Data Mismatch(6)
  12. Java Memory Leak?(2)
  13. Java Mouse Movement.(2)


 



- Lo-Fi Version Time is now: 5th December 2008 - 04:38 PM