Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag -d64 from the startup script is not supported by some JVM distributions #74

Open
ahitrin opened this issue Nov 27, 2018 · 1 comment
Labels

Comments

@ahitrin
Copy link
Contributor

ahitrin commented Nov 27, 2018

When running ServerAccess for OpenJDK 10:

$ /opt/naumen/server-access/server-access    
Unrecognized option: -d64                                                                       
Error: Could not create the Java Virtual Machine.                                               
Error: A fatal exception has occurred. Program will exit.
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)
$ uname -a
Linux zlobookIII 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

When I manually remove -d64 flag from /opt/naumen/server-acces/server-access script, an application starts without any problem.

Seems like -d64 run option is obsolete and should not used. See here for more information

@ahitrin ahitrin added the bug label Nov 27, 2018
@underoll
Copy link

underoll commented Apr 3, 2019

Looks like this flag does completely nothing in non-Solaris OS.

https://www.oracle.com/technetwork/java/hotspotfaq-138619.html#64bit_layering
"For consistency, the Java implementations on Linux accept the -d64 option."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants