notes/computery_stuff/cadence_license_manager_null_parameter.md

2.9 KiB
Executable File

author date title tags uuid
Akbar Rahman \today Cadence License Manager Install - `java.lang.IllegalArgumentException: :locationICompSelected: Null parameter - InstallComponent ID`
cadence
license_manager
flexlm
java
errors
a5f46736-1ab8-4da1-8737-95de51c95d50

Error

[root@host Downloads]# iscape/bin/iscape.sh -batch majorAction=InstallFromArchive archiveDirectory=$(realpath LCU04.30.000_lnx86.Base) installDirectory=$(realpath target)
Initializing InstallScape using JVM at /home/alvi/Downloads/iscape.04.23-s012/runtime/LNX86/bin/java. This might take some time...

WARNING: The DISPLAY environment variable has not been set.
InstallScape might not initialize.


InstallScape Installer (Batch Mode) - 04.23.s12

:locationICompSelected: Null parameter - InstallComponent ID
java.lang.IllegalArgumentException: :locationICompSelected: Null parameter - InstallComponent ID
        at com.khanpur.installerng.ArchiveLocationManager.locationICompSelected(ArchiveLocationManager.java:143)
        at com.khanpur.installerng.Installer.archiveLocationICompSelected(Installer.java:1156)
        at com.khanpur.installer.gui.batch.BatchInstallfromarchive.execute(BatchInstallfromarchive.java:86)
        at com.khanpur.installer.gui.batch.BatchView.initialize(BatchView.java:329)
        at com.khanpur.installer.gui.batch.BatchView.<init>(BatchView.java:90)
        at com.khanpur.installer.gui.InstallerUINoSplash.showBatch(InstallerUINoSplash.java:325)
        at com.khanpur.installer.gui.BatchCommand.execute(BatchCommand.java:78)
        at com.khanpur.util.TransactionCommand.execute(TransactionCommand.java:74)
        at com.khanpur.util.Commandline.runCommands(Commandline.java:223)
        at com.khanpur.installer.gui.InstallerUINoSplash.processCommandLine(InstallerUINoSplash.java:340)
        at com.khanpur.installer.gui.InstallerUINoSplash.main(InstallerUINoSplash.java:372)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.khanpur.installer.gui.InstallerUI.main(InstallerUI.java:123)
Failed with InstallScape JVM.
Now loading System JVM...
iscape/bin/iscape.sh: line 222: java: command not found
Error:
/usr/bin/which: no java in (/usr/local/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
Could not use JVM packaged with Installcape. The Java in your path did not work or could not find Java in your path.  Ensure that Java 1.6 or later is in your PATH environment variable and restart InstallScape.

Cause

Using the wrong filepath. The Cadence archives have subfolders to split the software between multiple CDs (a relic of the past perhaps). The actual folder to use is the CDs.

Solution

Use the folder that contains the .sdx files (in my case, add /CDROM1 onto end of archiveDirectory).