michal
Posts: 1
Joined: Tue Jun 14, 2011 10:55 am

Error: java class path was not specified in INI file

This problem is urgent, we have to create a java application installer where the java application has to use our jre version which is a standard Sun JRE package.
The steps we take to create the installer with the bundled JRE:
- section Java Products - specify the JRE Settings such as Main Class and JRE Version (minimum: any, maximum: any), Application - type: console, execution: as invoker
- specify the bundled JRE in MEDIA\Java section - here we use the JRE 1.6.0.25

Later on we run the installer, everything seems fine but when we want to run the app it blows with the error info:
Error: java class path was not specified in INI file

Java folder exists in the application folder, it contains all the required files, the .ini file contains JRE parameters as specified:

[Java Runtime Environment]
Main Class=com.test.Test
Minimum Version=any
Maximum Version=any
JRE Path=C:\Program Files (x86)\Test co\test\java\

the path specified in the .ini file is correct. Any ideas where the problem is located and how to solve it?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error: java class path was not specified in INI file

Hello and welcome to the Advanced Installer Forums,

It seems your classpath list is empty from your product settings in the Java Products page. This list must contain all the JAR/Zip archives that form your application.

Here is our user guide tutorial that has the basics of a java product installation.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error: java class path was not specified in INI file

Hello,

Thank you for your additional info posted.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”