The CS web-gui is Java based. The default system Java is OpenJDK. On arm
platforms there is a performance boost to be gained by using the Oracle
JVM. The software is "free" to use, but you will need to accept the
Oracle (BCL) Binary Code License agreement.

DOWNLOAD THE ORACLE EMBEDDED JRE
Download
'ejre-7u45-fcs-b15-linux-arm-vfp-hflt-server_headless-26_sep_2013.tar.gz'
(http://download.oracle.com/otn/java/ejre/7u45-b15/ejre-7u45-fcs-b15-linux-arm-vfp-hflt-server_headless-26_sep_2013.tar.gz).
You can't "wget" this file from the Wandboard. Do this from a browser on
your desktop machine as you'll need to accept the license agreement and
create a OTN account if you don't already have one. (Unlikely, unless
you are a Java developer.) Once you have downloaded the file, you need
to get it onto the Wandboard. copy it, (scp), to the fedora user home
directory on the Wandboard.

INSTALL THE ORACLE JVM
On the Wandboard...

Code:
--------------------
    
  sudo mkdir -p /usr/local/share/java
  sudo tar zxvf 
ejre-7u45-fcs-b15-linux-arm-vfp-hflt-server_headless-26_sep_2013.tar.gz -C 
/usr/local/share/java
  sudo chown root.root -R /usr/local/share/java
  
--------------------


CONFIGURE TOMCAT TO USE THE ORACLE JVM
Now you'll need to edit, "/etc/sysconfig/tomcat". At the end of the file
add....

Code:
--------------------
    
  JAVA_HOME="/usr/local/share/java/ejre1.7.0_45"
  
--------------------


RESTART TOMCAT
Restart tomcat...

Code:
--------------------
    
  sudo systemctl restart tomcat
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=99395

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to