PDA

View Full Version : Installing JAVA to view images



sofasurfer
November 17th, 2014, 07:44 PM
How do I install JAVA? I need to install this to view images

slickymaster
November 17th, 2014, 07:47 PM
You can install it via a PPA ((Personal Package Archive) and thus getting every update through your update manager.

Open a terminal window and run the following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

sofasurfer
November 22nd, 2014, 11:32 AM
My mistake,I am sure I have Java. What I need is Java Runtime.
I want to display an image but I am told I need to install Java Runtime Environment. When I try to install the plugin I am told that it is not available. It also offers me the opportunity to install it manually. When I click manual install I am taken to a Firefox website that talks about Java. Sorry to say that I find it quite confusing.
I am sure I have Java but how can I check? If I have Java doesn't that mean I also have Java Runtime?

I tried to install "Default JRE" in synaptic but I got a message, "Cannot apply changes. Fix broken packages first". It does not tell me what packages are broken.

What to do?

flaymond
November 22nd, 2014, 11:53 AM
Can you tell us what kind of image do you wanna view? Is it images on your Browser or on your Desktop? Is it like JPEG picture or runtime images?


If its on your browser, you can enable JavaScript

Elfy
November 22nd, 2014, 11:56 AM
...

I tried to install "Default JRE" in synaptic but I got a message, "Cannot apply changes. Fix broken packages first". It does not tell me what packages are broken.

What to do?

In synaptic - check custom filter - broken is in there.

sofasurfer
November 23rd, 2014, 02:41 AM
Can you tell us what kind of image do you wanna view? Is it images on your Browser or on your Desktop? Is it like JPEG picture or runtime images?


If its on your browser, you can enable JavaScript



This is the image. It is a platt map on a local government website.
http://www.dleg.state.mi.us/platmaps/dt_image.asp?BCC_SUBINDEX=12292

sofasurfer
November 23rd, 2014, 02:43 AM
In synaptic - check custom filter - broken is in there.

It shows that the broken dependency is "default JRE". What command do I use to repair it?

slickymaster
November 24th, 2014, 12:32 PM
My mistake,I am sure I have Java. What I need is Java Runtime.
If you have Java installed then you have Java Runtime Environment (JRE)

I want to display an image but I am told I need to install Java Runtime Environment. When I try to install the plugin I am told that it is not available. It also offers me the opportunity to install it manually. When I click manual install I am taken to a Firefox website that talks about Java. Sorry to say that I find it quite confusing.
I am sure I have Java but how can I check? If I have Java doesn't that mean I also have Java Runtime?
To check if Java is installed run the following command in a terminal window:
java –versionor test it at the Sun Java test webpage (http://www.java.com/en/download/help/testvm.xml).

To enable Java in Firefox, in a terminal window do the following:
sudo -i
mkdir -p /usr/lib/mozilla/plugins
Then go to Fierfox plugins directory before you make the symbolic link.
cd /usr/lib/mozilla/pluginsand create the symbolic link:
ln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so ## replace jre1.7.0 with your installed jre versionRestart your browser.