exe « jar « Java I/O Q&A





1. Accessing .exe file within .jar    stackoverflow.com

I recently created an application and successfully jarred this to c:/my/folder/app.jar. It works like a charm in the following case [Startup #1]:

  • Open cmd
  • cd to c:/my/folder
  • java -jar app.jar
But when I do this, ...

2. calling an exe file inside jar    stackoverflow.com

I am trying to call the "dspdf.exe" inside the jar file where this smartpdf class exists. I plan to extract it to a temp location and delete when program ends. However ...

3. How can I convert a JAR file to an EXE file?    stackoverflow.com

I have created a JAR file and I want run it on a client. I have a couple of questions:

  1. How can I convert the JAR file to an EXE file?
  2. How can ...

4. How to generate an exe file from my java project ? Which tool should I use?    stackoverflow.com

I was asked to make a program (in java) by some person but I was stacked as I didn't know how to generate and exe file from my jar file... It ...

5. Could i convert a jar file to exe?    stackoverflow.com

Possible Duplicate:
(Java) jar to exe
What if i want to run a .jar program on a pc that doesnt have the JDK...? would it possible?

6. Execution time between jar and exe file    stackoverflow.com

I observed that the exe converted from jar file takes considerable time in execution than original jar file. Is this correct? I used Jar2Exe to convert. Can anyone check ...

7. Unable to invoke a .exe file inside an executable Jar. How to?    stackoverflow.com

I wanted to invoke a .exe file wrapped inside an executable Jar file. Following is the main class which is supposed to invoke the .exe file.

    import java.io.File;

 ...

8. How to convert jar files into exe & rpm    stackoverflow.com

I have the following jar files for my app: DesktopApplication1.jar Plus , i have used the some extra API's for my app , like jsoup, jexcelapi etc. There are about 7 api's in ...

9. How to make .exe file for izpack installer .jar file    stackoverflow.com

I make an installer with izpack. Its in .jar file. I want to make it in .exe file in order to distribute it. How can I do it in an easy ...





10. How can I convert a signed jar file to an .exe file and keep it signed?    stackoverflow.com

I have created a JAR file and I've signed it using keytool & jarsigner and then I generated a .exe file, but the .exe does not keep the information of the ...

11. Protect Jar file source code with exe file (Java)    stackoverflow.com

How would I make a .JAR file open up when I make another file as .EXE? I have tried many things, but they don't work. I want this for another way to protect ...

13. java applications as executable jars vs exe files.    coderanch.com

Me and me friend create a desktop application for small companies. He's not a programmer, but a customer. he wants the application as an *.exe file, because of the following: - you don't have to install any java VM to execute such application; - every commercial application has a form of *.exe file + additional files - potencial client is totally ...

14. Convert .jar to .exe file    coderanch.com

Hai guys, I have a simple problem about converting .jar file to .exe file, the thing is I am not familiar in C or C# (Infact I dont know any code in C or C#)so need some thing full detailed guide ness about the process, If there is any convertible softwares available please tell me I have tried with JSmoother but ...

15. jar file convert .exe file    coderanch.com

16. How to include classpath in exe file which derived from jar?    coderanch.com

Hi, I use JBuilder to build a jar file and derive the exe file. I added other jar library files to jar. So, when I run java -jar test.jar, it can run with other jar library files. However, other jar library files cannot be included when I run the exe file. I tried test.exe -cp others.jar, but it does not work. ...





17. Executing .exe inside a jar file    coderanch.com

Hi ranchers I am creating a small application which I am going to deliver as a jar file. The main class inside that jar file has to execute one .exe file if some condition is satisfied. I have put the exe file also inside the jar. But while running the jar file, it is not executing the .exe file. If I ...

18. how to convert a jar file to an exe    coderanch.com

19. how to conver .jar to .exe file    coderanch.com

What you really want is to execute the jar which contain a class with a main method, that is it includes a java application, right? Then you execute it with the command java -jar Myjar.jar An another thing is that a windows computer may execute the jar automatically if you doubleclick the the jar but it is still a JVM (java) ...

20. Importing jar file under MS JVM (jvc.exe)    coderanch.com

I am using MS jvc.exe to compile a java program. I am forced to use MS JVM (jvc.exe) because of some APIs that I have to use, which requires me to compile the java code under MS JVM. Sorry about that! I have imported a utility package (compatible with java 1.3). However, when I compile it, I get the following error: ...

22. exe of a jar file + passing parameter from cmd prompt to exe    coderanch.com

Hi, can we create an EXE of a jar file. the extension should be exe for Eg : testJar.exe and can we pass parameter to the exe from comand prompt for Eg : C:\tesJar.exe 9969413222 Jigar the functionality of the testJar.exe is to get the parameter and log it into the file system. can it be possible ? Thanks & Regards. ...

23. Unhandled execption in EXE containing executable jar file.    coderanch.com

Hi, I have created one executable Jar file, to which i pass arguements. and from that executable jar file i have created exe file using jar 2 exe converter. now that exe file is called by another application. and if my java program throws some execptions which i have not handled. where can i find the execption ??? I have cheked ...

25. Is it possible to run instead of a .jar file a .exe file without needing a    forums.oracle.com

java virtual machine installed. I mean once i convert my jar file to exe and then say put it on a different computer that has not got JRE / java virtual machine installed will it still run as a windows executable or do i always need a java virtual machine whether .exe or not

26. .jar files to .exe files without buying convertors    forums.oracle.com

The .jar extension is the Java equivalence of windows .exe files. As you might already know Java is run in a virtual machine (JVM), and this one knows how to execute a jar-file. Basically, the only thing needed to run a jar-file, is the virtual machine to interpret the program to a language your processor will understand, which is the Java ...

27. Can I get it to find .jar file like an .exe?    forums.oracle.com

28. Running exe file contained in the jar    forums.oracle.com

I am using an executable signed jar which has a .exe file and a .dll file as its contents. Now since my application relies on the .exe and .dll, i want to extract those files from the jar and use it in my application. But it seems that the .exe file after extracting from the jar has only read permissions (same ...

29. RUN the EXE OR JAR, if the file has been dropped to EXE OR JAR    forums.oracle.com

we would like the user to be able to pick a file from native file system and drag & drop it to our application icon and have it uploaded to server We have an existing java desktop application which starts, when user click on our application icon (placed on desktop) OR double click on executable(.exe). It opens the frame which allows ...

30. Converting Jar files into Exe    forums.oracle.com

thanks i have few questions about launch4j my application depends upon other jar files also like log4j.jar etc. Can i merge all the dependencies into the executable itself for better management of file? Is it possible in launch4j?? and is it possible to extract my source code from executable file using reverse engineering techniques??

31. Execute an .exe file which is packed in a .jar file    forums.oracle.com

I believe you can do that if you are using the exe as a resource for your java application and you are starting it from your java application. But even if you can do that, it will not run on any *nix machine nor in any windows box without the vb runtime(I cant remember if it comes with the OS) and ...

32. running exe contained in jar file    forums.oracle.com

Hello, I have written a java interface where an external executable is being called from one of the classes. I'm using Jgrasp as development environment. Everything works fine if I run the java program from within Jgrasp: the interface opens up fine and it can run the external program when the button which is supposed to start it is clicked on. ...

33. Converting jar file to .exe    forums.oracle.com

hi I have installed NativeJ to convert my java application to .exe file It was converted and it is working. But while clicking the setup file it has to be installed in the local system .if the jre is not installed first it should install jre and it has to install our application.before installing our application to local system it has ...

34. importing jar file under MSJVM/jvc.exe    forums.oracle.com

I am using MS jvc.exe to compile a java program. I am forced to use MS JVM (jvc.exe) because of some APIs that I have to use, which requires me to compile the java code under MS JVM. Sorry about that! I have imported a utility package (compatible with java 1.3). However, when I compile it, I get the following error: ...

36. JAR Files for Distribution; Analogous to EXE?    forums.oracle.com

Based on my experience, the jar file is the only way to go. I have downloaded and used numerous jar files from other people; I have never ever used one of those EXE wrappers that people seem to be so fixated on. So yes, it's certainly the most common way of distributing Java software.

37. Playing wav files in a JAR exe, jumping to a specified part of the wav    forums.oracle.com

Hey, What I've been trying to do for the past day is learn how to play wav files in a JAR executable. Specifically, I need to be able to play wav files from certain parts of the wav file according to a timer in the main program. In other words, I need to be able to jump to a specified amount ...

38. Convert .jar to .exe file (Very much needed !)    forums.oracle.com

Hai guys, I have a simple problem about converting .jar file to .exe file, the thing is I am not familiar in C or C# (Infact I dont know any code in C or C#)so need some thing full detailed guide ness about the process, If there is any convertible softwares available please tell me I have tried with JSmoother but ...

39. Running a Java jar file from an .exe    forums.oracle.com

I am developing software in java that is required to interface with Invensys WonderWare (GUI devleopment software used for process control etc.) WonderWare has the capability of running .exe files, but does not appear to be able to run an executable jar file. Does anyone have any ideas on how to create an .exe (in C or some other language) that, ...