Note 2 : As you said that you get the As you did not specify whether you want to install Open JDK or Oracle JDK, my answer covers Oracle JDK. What follows applies to JDK8 too and for all Ubuntu versions of yours or higher.
So i have to Increase the size of the JVM memory with the following command: java -ms32000000 -mx128000000 classname This will set the initial size to 32M and the max size to 128M. thanks sandip Hi Sandip, I think u already have sufficient memory allocated for the server.
even if u go beyond than what u r using currently, will not improve performance of ur server ( if that's the intention).
I Registered my new CFX Tag and now I get this error "500 Hello Cold Fusion (Unsupported major.minor version 50.0)" when trying to access it in my test page.
I read that this is because I used a new version of JVM to compile the class and the jvm coldfusion has installed is older.
Mixing the two may turn out later to be a bad idea - Apple has been known to remove Java versions silently like when they upgraded Java 5 to Java 6 causing Eclipse projects to break like in stackoverflow.com/q/4340576/53897.
Every time you launch a Java applet, a Java Web Start application or the Java Control Panel, the system first launches your program and then, in the background (so that performance of your Java application is not impacted), it determines if it has checked in the last 7 days for a Java update.
[email protected]:/Data Stax_POC# which java /usr/bin/java [email protected]:/Data Stax_POC# java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java Hot Spot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) [email protected]:/Data Stax_POC# An alternative is the Zulu port of Open JDK which can be downloaded as a zip file, unpacked and used directly.
If needing to run from the command line, consider prepending the bin directory to $PATH in .bash_profile.
Link-only answers can become invalid if the linked page changes.
Note that this effectively coerces the Apple Java selection mechanism to use the Oracle JVM instead.
Java SE Advanced offers users commercial features, access to critical bug fixes, security fixes, and general maintenance.