I have created a Desktop java application which uses (EasyPHP) MySQL database, now I'm trying to create an EXE file of the application by using Advanced Installer, I have problem with attaching the database with the exe file.
Can anyone help me how to do that? I have googled it and cant got solution.
Hi You can use Launch4J to wrap you jars into executable. Also you can invoke a batch to install the JRE and MySQL
Kindly check my blog post which describes how to install MySQL using a batch file
I hope this could help!
Related
I installed nginx and tomcat in centos,
I recently purchased a script which contain jar java file.
If I upload it in tomcat/webapps/myapp the script works as expected if I open mydomain.com:8080/myapp.
If I upload it to nginx/html/myapp script not working as expected on mydomain.com/myapp.
I want to get correct output if load mydomain.com/myapp. Please anyone help me to fix this issue.
So you're uploading the JAR to nginx? This won't work as it'll need Tomcat to run if I'm understanding what you're trying to do.
Configure nginx to proxy the request to Tomcat to get the Java app working - here has some good notes https://www.nginx.com/resources/wiki/start/topics/examples/javaservers/
I have JAVA project with database in netbeans, I need to extract it to run without netbeans Like any Desktop Application
can any one help me ?
noitce : I Had Used JPA in my application .
Take a look at this tutorial which desrcibes how a jar file can be created from your NetBeans project. You can also create executables using the packager tool bundled with the JDK.
I guess this is a very basic question but it stucked me for two days.
I am new to Java and creating a webapp in Netbeans 8.0.1. Static app get created easily. For Db based app, I require MySQL installation. Earlier I believed that MySQL server is there inside Netbeans 8.0.1, kindly confirm if it is right?
Also I found number of MySQL installers but no free version is configuring correctly because of disabled options. If MySQL server is mandatory for WebApp in Java following Netbeans 8.0.1, can I get a recommendation for any stable MySQL installer please.
I believe you can find the links to install all of the MySQL server or management tools here:
http://dev.mysql.com/downloads/windows/installer/
You can use the MySQL Installer to easily install the tools that you need.
mysql download
I downloaded mqsql from this link and it works fine with eclipse.
I have developed a Swing Application. For Back end I have used MySQL and I have developed this application using JDK 1.8 version.
I want to create .exe file of my Java project along with MySQL installer and JDK installer
How can I achieve this?
You can export a .jar file (every IDE has one option to do this), what you make your project open just as one .exe if the pc has a JRE installed.
For the Integrated installer, you will have to use a program to integrate the installer of mysql, JDK/JRE, and your .jar file.
I do not know such program but I'm sure that it exists. Surely someone you recommend one to you.
I made java application's setup file through install4j and it is well known that netbeans application does not run without jre. so my question is that is there any way to install jre automatically if it is not installed previously before installing application.I heard that there is way to create .dll or .bat file for that but i dont know exact about that.So please help me as soon as possible.
Thanks and Regards,
Mahesh
http://www.ikvm.net/
This might be a good route to go, i'm looking into it now. In short it pushes your jar to run on a .net build