I saw this stack overflow post to know how to create executable files from java source , where it says to use javapackager he also says that it is included with Java JDK but I dont have any clue of how to use it.
I read this oracle documentation but still didn't get much how to create native type .exe file for my code like I tried it on cmd and it says javapackager is not a valid command , I found these ways old so How can I make a .exe file for my java code now .
How to use javapackager to create executable file for my code?
579 Views Asked by Pam Ix At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in CMD
- Set req query output to a variable
- 'No such file or directory' installing RTC-Tools through pip
- Merge all *csv and remove duplicate headers using command prompt except top row
- Trying to launch batch file from powershell, and immediately closes
- How to export CMD output to a text file in C# after all the text printing on the CMD window is done?
- 'pip install mariadb' states that it cannot find include file 'mysql.h' on my Windows 10 dekstop
- Python Console commands
- How use subprocess.run with cmd external program in phython
- How do I restart a batch file in PowerShell?
- execute cmd commands as admin with java code
- PostgreSQL 16 database will not run as service, must have a CMD open for it to work
- How can I unload Visual Studio projects via batch file/developer command prompt?
- Connect to a specific country using Psiphon vpn from Command line
- How do I run multiple instances of my Powershell function in parallel?
- cmd command through powershell fails with error "The string is missing the terminator: '."
Related Questions in JAVA-PACKAGE
- Java Mail project working when running within netbeans but not working when running directly dist/executble jar file
- 'JavaPackage' object is not callable in Archives Unleashed Toolkit
- How to add non-modular JARs with split packages to a modular JavaFX project in Intellij idea?
- Docker, why does it fail to access my other package in a java program
- Can't import subpackage into another subpackage
- pyspark 'JavaPackage' object is not callable
- how to fix java package problem in vs code
- Why do I get "The method createLL() is undefined for the type LinkedListUse" error when calling from same package in Java?
- Java Error: Could not find or load main class, Caused by: java.lang.NoClassDefFoundError
- Java OpenGL Syntax
- What is the first line for, in the MainActivity.java?
- Where did the javax.xml.registry.infomodel package from Jakarta EE 8 disappear to in Jakarta EE 9.1?
- How to write package-statements for nested packages?
- Error `The declared package "part2.stage2" does not match the expected package ""` with correct package name
- "Error: Package does not exist" ... Where does the JAR file belong?
Related Questions in JAVAPACKAGER
- Can not set the icon for my videogame which is packaged using JavaPackager
- When I export my Java game with embedded JRE the game can not more read Cyrillic strings from external files
- How can I set the MacOS DMG volume icon using Java 17's jpackage utility?
- Application built by jarbundler fails to launch
- Package and install a xxx.desktop file with javapackager
- How to modify the default bundle name made by JavaPackager
- Changing JavaPackager Temporary Output Directory
- Java packager - preinstall & preuninstall
- How to use javapackager to create executable file for my code?
- javapackager: Cannot determine which JRE/JDK exists in the specified runtime directory. MacOS Big Sur
- Packaging java applicaition in Windows 10, open JDK 11
- Android - Is that OK to use two words as package name?
- IO Exception in Java Packager: Exec failed with code 2 command
- Is there a way to build installers for a java application for multiple targets on the same platform?
- Installing javapackager on Ubuntu
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
javapackagerwas removed from the JDK. The recommended way is now (It is better,if you have a modular application) to use jlink and/or jpackage