Senmortaj
Posts: 3
Joined: Sun Dec 06, 2015 3:24 pm

How do I get this Java application to run?

Sun Dec 06, 2015 3:38 pm

Hello,

My goal with the Raspberry Pi is to see if I could get it to work for classroom projects for my teacher (so this may need to go in the Education area).
In AP Physics, we have to do labs and write up lab reports, however, due to a lack of money, we can't do every lab physically. Instead, for some labs, we use Physics Java Labs website (http://lectureonline.cl.msu.edu/~mmp/labs/labs.htm) to undergo experiments. As you can see in the name, it is a Java application, so if I go to run it, it say "Missing plug-in".
I tried downloading OpenJDK with the command prompt (sudo apt-get install openjdk-7-jre), however, I still get the same message of "missing plug-in".

So, my question is, am I overlooking something? Or do I need to download something different in order to get this Java Physics Lab to work? Or, which I'm hoping is not the case, is it not even possible to get this Java application to work on the Raspberry Pi 2b?

Any help you can provide would be much appreciated, and I thank you, in advance, for it.

(Note: I'm using just the recommended Raspbian OS, and I haven't really done much apart from following some of the steps from the Raspberry Pi user guide. Hopefully this info. can help some)

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: How do I get this Java application to run?

Sun Dec 06, 2015 6:19 pm

I think the 'plug-in' means the add-on for your web browser, not the java you have installed.

What browser are you using? The Firefox browser is called Iceweasel on the Pi; you then need the icedtea plugin for that.

Code: Select all

sudo apt-get update
sudo apt-get install iceweasel
sudo apt-get install icedtea-7-plugin

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: How do I get this Java application to run?

Sun Dec 06, 2015 6:55 pm

Senmortaj wrote:it say "Missing plug-in".
I tried downloading OpenJDK with the command prompt (sudo apt-get install openjdk-7-jre), however, I still get the same message of "missing plug-in".

So, my question is, am I overlooking something?
Normally you do not want to run java apps in a browser, the security issues are real. Also, if you are doing this in a class with a time window when things must happen, it is foolishness to not have a copy held locally to run since you don't want to have 26 students standing around wondering why the internet went down.

See if you can download a local copy of the java apps and use those. You can serve them up on your local server so you don't have to update more than one place to stay current.

Senmortaj
Posts: 3
Joined: Sun Dec 06, 2015 3:24 pm

Re: How do I get this Java application to run?

Mon Dec 07, 2015 1:12 am

Navyscourge wrote:What browser are you using? The Firefox browser is called Iceweasel on the Pi; you then need the icedtea plugin for that.
Uhm, I believe it is the Epiphany Web browser. Just the default one to use to browse the web. However, I can try out your suggestion when I get the chance. Thank you.

Senmortaj
Posts: 3
Joined: Sun Dec 06, 2015 3:24 pm

Re: How do I get this Java application to run?

Wed Dec 16, 2015 1:26 am

Navyscourge wrote:I think the 'plug-in' means the add-on for your web browser, not the java you have installed.

What browser are you using? The Firefox browser is called Iceweasel on the Pi; you then need the icedtea plugin for that.

Code: Select all

sudo apt-get update
sudo apt-get install iceweasel
sudo apt-get install icedtea-7-plugin
Sorry for the late response. This project of mine was just a side project, and I ended up getting busy with other things. However, you suggestion worked and I can now successfully run the program. So, thank you! :D

Return to “Beginners”