[JAVA] How to get the log when install4j does not start

What to do if the installer is created with install4j but the installer cannot be started successfully. If you just execute it, it will drop without any error, so you do not know the cause.

environment

macOS 10.13

procedure

Start the install4j launcher with the environment variable ʻINSTALL4J_LOG = yes`.

Example:

INSTALL4J_LOG=yes myLauncher.app/Contents/MacOS/JavaApplicationStub
(abridgement)
<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I was able to get the error message. This is where the long debugging journey begins.

reference

The executable generated by install4j doesnt start

Recommended Posts

How to get the log when install4j does not start
How to fix the problem that Aptana Studio does not start
When the server does not start with rails s
[Grails] Error occurred running What to do when the Grails CLI does not start
[Java] How to get the current directory
How to get the date in java
[NetBeans] Story when it does not start
How to interact with a server that does not crash the app
How to constrain the action of the transition destination when not logged in
How to not start Flyway when running unit tests in Spring Boot
When the server fails to start in Eclipse
How to get today's day of the week
How to delete the database when recreating the application
[Java] How to get the redirected final URL
[Java] How to get the authority of the folder
How to log in automatically when Ubuntu restarts
Does not recognize the library when implementing jcaptcha
How to get the query string to actually issue when using PreparedStatement with JDBC
What to do when rails db: seed does not reflect in the database
[Error] How to resolve the event that the screen does not transition after editing
How to set when "The constructor Empty () is not visible" occurs in junit
What to do when is invalid because it does not start with a'-'
Terminal does not start
[Java] How to get the URL of the transition source
[Java] How to get the maximum value of HashMap
[Android] How to get the setting language of the terminal
[Rails] How to get the contents of strong parameters
[Ruby] How to get the tens place and the ones place
[Swift] How to get the document ID of Firebase
The story when the container does not start up with docker-compose up and an error occurs
Docker for Windows: MySQL container does not start when migrating from Hyper-v to WSL2
How to get the class name / method name running in Java
How to set chrony when the time shifts in CentOS7
[IOS] How to get the table name from AWS DynamoDB
What to check when rails db: migration does not pass
How to solve the problem when the value is not sent when the form is disabled in rails and sent
How to cure the time dilation when launching Japaneseized Kibana
What to do when Rails on Docker does not reflect controller changes in the browser
[jsoup] How to get the full amount of a document
Logback log is not output when the server application is closed
What to do when "relation" hibernate_sequence "does not exist" in the ID column of PostgreSQL + JPA
About the solution to the problem that the log of logback is not output when the web application is stopped
If the DB container does not start with Initializing database files
[Rails] How to get the URL of the transition source and redirect
[Swift] How to display when the quiz app answers correctly [Beginner]
[Swift5] How to get an array and the complement of arrays
What to do when the changes in the Servlet are not reflected
How to output the value when there is an array in the array
What I did when the DB did not start with docker-compose up
I get a Ruby version error when I try to start Rails.
[Swift UI] How to get the startup status of the application [iOS]
How to get the contents of Map using for statement Memorandum
[jOOQ] How to CASE WHEN in the WHERE / AND / OR clause
How to get the id of PRIMAY KEY auto_incremented in MyBatis
[Rails] What to do when rails s does not respond or does not stop
How to solve the unknown error when using slf4j in Java
[For beginners] How to get the Ruby delayed railway line name
[Java] How to convert from String to Path type and get the path
How to get the length of an audio file in java
[Rails 5] How to display the password change screen when using devise
How to write the view when Vue is introduced in Rails?