This tag can be used to mark question where user want some clarifications/explanation on java options like system variable or other java options.
Questions tagged [javaoptions]
25 questions
276
votes
5 answers
JVM option -Xss - What does it do exactly?
It says here that -Xss is used to "set thread stack size", what does it mean exactly? Could anyone help me understand this?

instantsetsuna
- 9,183
- 8
- 25
- 28
4
votes
1 answer
64-Bit Server VM Warning: Options -Xverify:none and -noverify were deprecated in JDK 13. Safe to delete -Xverify:none from Environment Variables?
The following message appears when I run any program.
Picked up _JAVA_OPTIONS: -Xverify:none
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
A…

Suede
- 416
- 2
- 5
- 16
3
votes
1 answer
The use of Java options environment variables detected. How to delete it?
When I turned Android Studio on Windows 10, I got this warning:
The use of Java options environment variables detected. Such variables
override IDE configuration files (*.vmoptions) and may cause
performance and stability issues. Please consider…

Adam
- 186
- 1
- 4
- 20
3
votes
0 answers
Cannot set -Xss using _JAVA_OPTIONS
I have some application which could be run properly only with the increased stack size (java option -Xss1M), otherwise is segfaults.
If I use the -Xss1M option in the command line it works. To integrate this solution to my Jenkins jobs I would…

Alexander Samoylov
- 2,358
- 2
- 25
- 28
3
votes
2 answers
"Picked up _JAVA_OPTIONS" when no such environment variable exists
This issue pertains specifically to Minecraft, but it is affecting all Java programs that run on my computer.
It would seem that something is forcibly setting a _JAVA_OPTIONS environment variable. When I run my server, I have specified to allocate 4…

Derek
- 799
- 2
- 8
- 17
2
votes
1 answer
Unrecognized option: --add-opens when passed with _JAVA_OPTIONS
I am trying to fix the issue with running Nexus IQ scanner using Java 17 runtime.
The error is
java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class…

Kirill
- 6,762
- 4
- 51
- 81
2
votes
0 answers
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Whenever I execute java code on intellij on kali, or type java --version in command line
I get this message
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true.
I googled it and found this link that is exactly the same…

zyydoosh
- 387
- 2
- 14
1
vote
1 answer
Picked up JDK_JAVA_OPTIONS: appearing in my servlets log file?
I have a servlet running in Tomcat on a server. One of the tasks the servlet does is transform documents using a translation library jar. Executing a java -jar "..." command.
I use log4j to log the actions a sample below.
[echo] [init] Initialize…

ScottD
- 23
- 7
1
vote
0 answers
How to show all errors for gradle build and why -Xmaxerrs does not work?
I'm running ./gradlew clean build and getting many errors. Only first 100 are printed, however I need the complete list.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input…

deniss-s
- 235
- 2
- 8
1
vote
0 answers
What does the -agentlib option of java command do. Getting error while using TakipiAgent in it
Can someone explain what is the use of the -agentlib option and its internal working.
To give a broader perspective I am running the below command:
java -agentlib:TakipiAgent MyClass
And it is giving me the error:
Could not find agent library…

DockYard
- 989
- 2
- 12
- 29
1
vote
1 answer
How to add a separate Java option per instance in GlassFish Cluster (Glassfish 4)?
I have a cluster with 5 instances on Glassfish 4.
All are using the same configuration with the same Java options.
I want to add a Java option -Dcom.sun.management.jmxremote.port=**** for every instance in cluster, this means they all have to be…

Daniel Egorov
- 23
- 3
0
votes
0 answers
Hive and hive server2 not starting
I am trying to setup hive in my local machine, using apache_hive_2.3.7 and apache_hadoop_3.3.6. When I try to run hive getting below error:
[sgopi@localhost v2.3.7]$ hive
/usr/bin/which: no hbase in…

Gopi
- 689
- 1
- 8
- 17
0
votes
1 answer
How to use Java options in Spring Boot pom file?
I am getting an error when I try to run the integration test (@SpringBootTest) in my application. I got a solution to use below the Java option
--add-opens java.base/java.nio=ALL-UNNAMED
I have checked it by editing the run configuration and it is…

Chetan
- 63
- 1
- 8
0
votes
0 answers
Unrecognized option: --add-exports java.base/sun.nio.ch=ALL-UNNAMED from Docker container
I would appreciate your assistance in resolving the issue I have encountered
While addressing Apache Spark 3.3.0 breaks on Java 17 with "cannot access class sun.nio.ch.DirectBuffer" problem
I have attempted to implement the suggested solution, which…

Denis Voloshin
- 768
- 10
- 32
0
votes
0 answers
Unable To Reach Local ArcadeDB-Studio on ArcadeDB-Docker-Container with Gremlin-API Enabled
What are the details of your problem?
I'm unable to access ArcadeDB-Studio when trying to connect to Gremlin-API-enabled ArcadeDB-Docker-container.
I don't understand why this would make its Studio unavailable.
Is there another step I missed when…

Zach
- 539
- 1
- 4
- 22