Why do I need to set JAVA_HOME?
Java scanner together with other agent plugins need java to run correctly
The customer can either set the .exe file of the java directly on the snowagent.config or use java_home entry to determine the java_home variable
Open Advanced System Settings
In Windows 10 press Windows key + Pause Key, This will open the System Settings window. Go to Change settings and select the Advanced tab.
Alternatively:
Open “Windows search” – you will find it next to the Windows logo
1. In the search field type in – advanced system settings
2. Click on the match on top of the list
Set JAVA_HOME Environment variable
In “System Properties window” click “Environment Variables…”
Under “System variables” click the “New…” button and enter JAVA_HOME as “Variable name” and the path to your Java JDK directory under “Variable value”
Update System PATH
1. In “Environment Variables” window under “System variables” select Path
2. Click on “Edit…”
3. In “Edit environment variable” window click “New”
4. Type in %JAVA_HOME%\bin
Test your configuration
Open a new command prompt as administrator and type in:
echo %JAVA_HOME%
this will print out the directory JAVA_HOME points to or empty line if the environment variable is not set correctly
Now type in:
javac -version
this will print out the version of the java compiler if the Path variable is set correctly or “javac is not recognized as an internal or external command…” otherwise.
Place the configuration on the snowagent.config
Related Articles
Snow Inventory Java Scanner security levels and execution behavior 165Number of Views Oracle Verified - No data was processed by Snow Inventory Java Scanner 39Number of Views Oracle Verified - The Snow Inventory Java Scanner was not successfully executed on this computer/machine 24Number of Views Details about files named java.exe are not included in inventory gathered from Windows computers unless the PerformOracleJ… 10Number of Views Prepare your snowagent.config file for Oracle Scanner simplification in Snow Agent 75Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago