Hi I want to make a exe file in java. How can I make it please suggest me.?
106404
As far as I know you can't make .exe files in java, as java is an interpreted language. That's why you need the jre to run java applications. Instead you can package youre class files in a .jar (java archive) file and have it automaticly deployed(i mean start whe user clicks on it) if that is your target. For this there is an application called jar that comes with java. \nHope this helps you
737081
If you want to know visit www.java.com\n\nHope ds is d best answer!
790591
There could be many problems here.  Your description is a bit sketchy and I'm not certain what compiler you're using or if that is the error message verbatim.  \n\nThings to try here:\n1).  If it is telling you that no exe was created, then nothing is wrong with the compiler, just the code being compiled.\n\n2). If it appears the compiler isn't running, try looking in the output directory for a file with the same name as your code and the extension .obj.  If it isn't there, the compiler itself didn't run.\n\n3). The linker may not be creating the exe if it can't find the .lib or .a files in the library subdirectory.  Open that directory manually and check to see that the files exist and have greater than zero size.  \n\n4). Some compiler IDEs(Integrated Development Environment) allow the user to set a filename and path to execute indepently of the other directory settings.  Check to see if yours is one that will, and if so, then follow the documentation to manually check that the selected compiler file is indeed the compiler executable.\n\nThese are all the errors that I can think of from what little I understand of your question.  In the future, I'd reccommend giving more (all if unsure!) details in the question.  No one ever got a worse answer for including too much information.\n\nAs a very last resort, I'd simply back up all my work and reinstall the compiler.  I hope this helps.
456343
application file .. humm... if it's .exe file then ...4get it...\nyou could try by rename it.. but ..seriously..\nyou better clean thouse to give life to other exe application files.. coz it will infect them in notime..\nI think saving is the best option rather taking the risks of destroying the rest so .. have a clean SWEEP.
595983
do u mean Java jar files, do u??\nif yes then here is the answer, u will not find them, u make them, but ill give u an advice, if u want to program in java just use netbeans its a free java IDE, its perfect and it will make jar files directly after compile\n\nIf u donn wanna use Netbeans, then u can create jar files using packager.exe ull find it in ur JDK
163236
go to dos prompt.\ntype in "EDIT" then a space then the program name with extension.\nIt will bring up a basic text editor that hopefully will open the file properly.  (works best on INI, BAT, CMD) \nEXE's a re complied differnetly and might not be accessed by user.\n\nTo make your own program for dos, compose a new file, use correct DOS syntax and save it as a "BAT" file. It stands for batch which is translated by DOS.
253136
What software program are you well versed with?\n\nI give you a simple example from Visual BAsic. Make your program first. Make an Executable File of your project and then using Deployment and Package Wizard make an installation setup for your software. \n\nGood Luck!
100458
With the project open:\n1. You must have a form with the EXE icon you want as its Icon (create a dummy form if necessary).*\n2. Go to the Project menu, choose "<Project Name> Properties..." (this is the last or second-to-last item)\n3. Click on the "Make" tab.\n4. In the "Application" area, where it says "Icon:" choose the form containing the icon.\n5. Compile ("Make") the program, and it should have the new icon. \n\nNote: this can be a little tricky when using Windows XP-type icons.  If you are, make sure the ICO file also contains 16- and/or 256-color icons, and that they come before any 32-bit icons in the order.\n\n* To set a form icon, open the form in VB (double click on the form icon), go to the Icon property in the property window.  Click the "..." button, and select the ICO file you want to use.
65186
Do you mean that you want to combine 2 programs in one? I can't help you with that. Nobody can, I think ... :-$\nBut I can say that you can make an executable (.exe)archive with WinRar which can include those two exe-files you mentioned.\nTry WinRar out at www.rarlab.com.
964987
Download and install latest JAVA SOFTWARE FOR WINDOWS \n\nhttp://java.com/en/download/windows_ie.jsp\n\nor\n\nhttp://java.sun.com/webapps/download/AutoDL?BundleId=9723
484095
Maybe you need to download Java. It's free. Go to:\nhttp://www.java.com/en/
465605
Research this...\n\nhttp://buildit.sitesell.com/java.html
107183
I think this is best answered by an example (I don't know how to keep formatting in Yahoo! Answers, so the formatting of the code is lost)\n\nfile TestFile.java\n===================\n\nimport java.io.*;\n\npublic class TestFile {\n\n   public static void main(String[] args) {\n      String inFilename = args[0];\n      String outFilename = args[1];\n      try {\n         BufferedReader in = \n            new BufferedReader(new FileReader(inFilename));\n         FileWriter out = new FileWriter(outFilename);\n         \n         String line = in.readLine();\n         while(line != null) {\n            out.write(line + "&#92;n");\n            line = in.readLine();\n         }\n         \n         out.close();\n         in.close();\n      } \n      catch(IOException ioe) {\n         ioe.printStackTrace();\n      }\n   }\n}\n\nThis simply takes two String arguments.  The first is used as a source file, the second is used as a destination file.  Everthing in the source file is copied into the destination file.  Anything that existed in the destination file is overwritten.\n\nThe Buffered reader makes it really easy to read from text files.  As you can see opening a file is as easy as creating a new instance of a FileReader or FileWriter.  Take a look at the Javadocs for these classes for more information.\n\nSince Java is a cross-platform language, you should add extra code for handling a file regardless of the operating system, but this should get you started.
628672
i dont think you can...........you want it on the video?\n\ner on the exe?\nif on the exe create the exe with winrar..put in all credits and stuff and will show it as it unpacks
711328
If the files you have downloaded have a .java extension, then these steps will work for you.  If the files have a .class extension, you will have to look fourther down the page to section 'Getting the Command Prompt'.\n\nGetting the Compiler:\n\nYou will need to have the java compiler.  It is free.\nYou should read the read me file here\nhttp://java.sun.com/j2se/1.5.0/README.html\n\nYou are advised to read the 'Installation Instructions', available here\nhttp://java.sun.com/j2se/1.5.0/install.html\nor for windows here\nhttp://java.sun.com/j2se/1.5.0/install-windows.html\n\nThe compiler is available from here.\nLook down the page until you the the section headed 'JDK 5.0 Update 9' and press the '>> Download' button to the right.\nhttp://java.sun.com/javase/downloads/index.jsp\n\n\nGetting the Command Prompt:\n\nAfter getting the compiler and installing it, you need to open the command prompt.\nThis is accessed from the Start Menu, click on the windows 'Start' button.\nClick on 'All Programs'.\nLook for 'Accessories', and click on it (if needed).\nIn here should be 'Command Prompt'.  Click on this.\n\nNow is perhaps the hard part.  You need to navigate through the command prompt to get the to folder you have the java files in.\nFor simplicity, I will call the file that holds these java files, 'C:&#92;code'\nThis means, it is a folder on your C drive.\nYou need to type this into the command prompt, without the quotes.\n'cd C:&#92;code'\nThen press enter.\nYou may need to change this, according to where your files are located.\n\nIf you do not have to compile the '.java' files as you have the '.class' file, go to 'Running the Program'.\nIf you need to compile the '.java' files, continue to 'Compiling the Files'.\n\n\nCompiling the Files:\n\nYou should be in the folder that contains the .java files.\nFor simplicity, I will assume the name of the .java file is 'Example.java'\nType into the command prompt, again without the quotes\n'javac Example.java'\nThe compiler, named 'javac', should compile the code.\nIf there are no errors, it should produce a .class file, named 'Example.class'.\nIf you have errors, hmm, you may have to go back to where you got the file, or ask another question.\n\n\nRunning the Program:\n\nOnce you have the .class files, I will call them 'Example.class', you can compile the program into a functioning program.\nType into the command prompt the following line, without the quotes.\n'java Example'\n\nThis should run the program.\n\n\nNote:\nIf you have more than one file, you will have to compile each file seperately, as mentioned above in 'Compiling the Files', before you can run the program.\n\nIt is the file with the 'public static void main(String[] args)' method that you call from the command prompt with 'java Example'.
731404
I used one once many years ago, but can't find it.  Here is one I found using Google:\n\nhttp://www.innovation.ch/java/java_compile.html
428013
because it's way way outdated.\nTry Eclipse from eclipse.org.\nOr else, compile from the command line:\njavac *.java\nand then create the jar file, like so:\njar test.jar *.class