extract my java app with its database from netbeans - java

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.

Related

Java Tool Notarize process

we have developed GUI tool using Java SE 11 , packaged using Maven. Recommend user to download and set Java in system path to launch the tool. Batch file for windows and .command file for Mac and Linux. Do we need to get notarize approval from apple to use it in Mac OS. Please advice
Thanks
You don't need Notarization for the script files. For your GUI Tool it highly depends on your projects dependencies. If your project only use common java packages, then everything should be fine. But there are libaries which require notarization. I personally had this issue with the net.java.dev.jna dependency. My experience is based on a jar bundled within an application. I am not sure if it is the same for a jar excuted from a script only. I recommend to just build your app and try to run it on a catalina machine.

How to attach MySQL database with java application by using Advanced Installer

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!

How to deploy Java Swing Application

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.

Standalone JavaFX application

Is it possible to create a standalone, executable JAR that uses JavaFX for it's GUI?
I want to create an application and send it to a friend that has only the JRE 6 installed.
Please note, that the solution has to be compatible with either Maven or Gradle.
JavaFX has support for creating standalone native packages.
See https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html#BCGIBBCI

Unable to load JavaFX runtime?

I have made sample application with JavaFX using netbeans 7.2. When I run application from netbeans it is working fine. Now I want to distribute this application as the standalone application.
So I am trying to opening this application from the executable jar file made by netbeans itself in the dist folder. But I am getting error : Unable to Load JavaFX runtime
How to resolve this issue ??
Also I wanted to know the best way to distribute this application as desktop standalone application ? Means I wanted to know the final package for distribution would it be executable jar file ?
For this final package(suggested for above question) will there be any prerequisites for the application to run on windows environment ? : This is importance because our final environment is very limited. It don't have even java installed on it.
I don't know why launching the executable jar created by NetBeans does not work for you.
You can workaround this issue by packaging your application as a Self Contained Application. Such a package includes the java and javafx runtimes with your application so you never need to worry about distribution and installation of these things to your client. In any case, it sounds like such a package is a good fit for your application.
A self-contained application is a wrapper for your JavaFX application, making it independent of what the user might have installed.

Categories

Resources