JRE on LINUX

Guys,

I have installed JRE on my Linux Ubuntu server, but it’s not running on Scriptcase.
I already checked and test it on the server, and it is ok. It only isn’t running on PHP.

What I have to do?

Re: JRE on LINUX

Probably the problem is the environment variable that PHP isn’t rreconizing.

Change the command below in accordance with your java directoy.

Including the JAVA PATH:
ln -s /usr/local/java/jre1.6.0_12/bin/java /usr/local/bin/java

Or access “/etc/apache2/envvars” and include the path:
export PATH=$PATH:/usr/local/java/jre1.6.0_12/bin/java

V?tor Jamil

Re: JRE on LINUX

I have the same problem. The solutions offered do not work for me either.

Re: JRE on LINUX

make sure if you have downloaded the right version of jre.

Re: JRE on LINUX

It works

Re: JRE on LINUX

Hai vitor,

I have install JRE but ver 18 not 12, how i get ver 12 of JRE, help me please.
I’m using Fedore and have checked that /etc/aphace2 does not exist, on fedora aphace is on httpd folder andnot on aphace2 folder.

How to solve this…?

Re: JRE on LINUX

Hi to All,

This is a common problem, that I have solved following this tutorial:

http://www.64bitjungle.com/ubuntu/install-java-jre-160-update-x-on-hardy-as-the-default-java-runtime/

I hope this help.

By
Gaetano

Hi,

There are a apt repository to install java 7 easy.

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-jdk7-installer