You can add the -d64 JVM option directly to the domain.xml file. Alternatively, you can use the as-install/bin/asadmin command to add and remove JVM options. In both cases, after making the changes, the GlassFish Server domain must be restarted.
Start the GlassFish Server domain.
as-install/bin/asadmin start-domain |
Delete the -client JVM option.
as-install/bin/asadmin delete-jvm-options "-client" |
Create the -d64 JVM option.
as-install/bin/asadmin create-jvm-options "-d64" |
Stop and restart the GlassFish Server domain.
as-install/bin/asadmin stop-domain as-install/bin/asadmin start-domain |