This question already has answers here:
What's the best way to distribute Java applications? [closed]
(15 answers)
Closed 10 years ago.
I want to create a software using Java. I have coded the application with Java Swing and using backend as MySQL server 5.05.
How can I create an application that can be installed on Windows, and run like other software?
Compile it as a JAR and run it in the Windows JRE.
Related
This question already has answers here:
How to distribute Java Application
(5 answers)
Running java without installing jre?
(8 answers)
How To Build Java Native Executable Files For Linux
(2 answers)
Closed last month.
Can there be some converters or packer that would make my program run on windows? Maybe downloading JRE in the background or smt like this, so clients are not required to go to their site and download it manually
I tried some programs like j2e and some online converters, but they aren't precise (my program appears differently)
This question already has answers here:
How can I convert my Java program to an .exe file?
(16 answers)
Compiling a java program into an executable [duplicate]
(7 answers)
Closed 9 years ago.
I want to convert my swing application into an executable one.I am using Neatbeans IDE.Is there any plugin available?
Use Launch4J
It is a Cross-platform Java executable wrapper which will do what you need.
Use IExpress.exe that is part of Windows. Type iexpress in your start bar search.
Add your executable JAR file to the list.
Your install command would be java -jar "yourJar.jar".
This question already has answers here:
How do I add a Java backend to an existing PHP site without adding a tomcat server for Java Bridge?
(4 answers)
Closed 9 years ago.
I have created a program but i need to get a java program to run a php script with some arguments and then get the php script to send some arguments to the Java program. I know this question has been asked a lot of times but it seems like the only answer i can get is that php can do this but java cant but there must be a way to do it. Right?
You can run PHP from the command line:
http://php.net/manual/en/features.commandline.php
This should enable your Java application to run it, and capture it's return values.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to open a file with the default associated program
As in the title, how to determine the application that will be used by the OS to open a file?
For example I'd like to retrieve the application name and it's path for random pdf file...
Is there an internal Java method independant of the OS (working for most of them)?
Thx...
Probably not. For Windows, you need to deal with the registry. Writing to the Windows registry in Java is discussed in read/write to Windows Registry using Java.
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Find name of all application running on a WebLogic server through a java web application
I am writing a java web application
that needs to know the name of all applications running on the same
server on which the application will be deployed on.
Maybe I can combine use of WLST with java?
any ideas?
Thanks,
Shehryar Farooq
JMX is the answer to the question. Please check the answer here