Installation pre checks fails retrieving Java version

Asked by Thomaz

I am trying to install Symantec Endpoint Protection.
But the pre checks detects java version < 1.5 . Using the installation script gave w/ the package.
Typing #java -version , they returns the installed, 1.7 .
Is there a way to override this check ? Since the version is appropriate.
My OS is Ubuntu 14.04 .
Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How are you installing the application?
What steps are you taking?
Is it a known issue (Check Synaptic website)?

Revision history for this message
Thomaz (thomazp) said :
#2

I am using the script provided w/ the package.
Only put to run with ./install.sh
I didn't find that in the Synaptic Website.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Where is the script in the file system? You can edit it to either ignore the check or point it to the correct file providing Java.

Revision history for this message
Thomaz (thomazp) said :
#4

I found this:
http://www.symantec.com/connect/articles/how-install-symantec-endpoint-protection-1215-supported-linux-operating-systems

Thomaz S L Portella
<email address hidden>
<email address hidden>
Engenheiro eletricista/eletrônico.

On Thu, Nov 26, 2015 at 6:32 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #275526 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/275526
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Where is the script in the file system? You can edit it to either ignore
> the check or point it to the correct file providing Java.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/275526
>
> You received this question notification because you asked the question.
>

Revision history for this message
Enrico Rosina (e-rosina) said :
#5

Hello,

This post is becoming old, do you still have the problem? I'll give a few hints, just in case, though I fear you already went so far in your research.

Unfortunately your description does not really tell which is your java installation, is it OpenJdk or Oracle?

If it's the second one, just make sure you have set the environment variables $JAVA_HOME or $PATH:

    echo $PATH
    echo $JAVA_HOME

If it's the first one and you are not sure which is the java installation directory , then one of these two commands could be useful:

    which java
    locate rt.jar

When you know where your java distribution is, the point will be to discover what sort of settings Symantec Endpoint Protection is looking for.

One of them could be the sudo update-alternatives --config java, as explained here at point 7: http://how-to.linuxcareer.com/how-to-install-java-on-ubuntu-linux
Be careful though, this page is old as you may guess from the java version shown there.

If your java not at the place where Symantec expects it, you can also try to create symbolic links, like explained here:
http://unix.stackexchange.com/questions/149452/java-location-from-usr-bin-java

Sorry my answer is only a guess, there are so many causes to your problem that you have to have to experiment to find a solution for your configuration.

Good luck
Enrico

http://www.anisor.ch

Revision history for this message
Thomaz (thomazp) said :
#6

I finally installed, but the problem is putting it to work.
After that , had to integrate it with Active Directory.
I send more details tomorrow, because I am not there. I typing from home.
Thanks,

Can you help with this problem?

Provide an answer of your own, or ask Thomaz for more information if necessary.

To post a message you must log in.