
Tip: Build your own Java Oracle module
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: Tip: Build your own Java Oracle module
It works for me. Find and execute jcontrol (Java Control Panel). Next set lower security level at Advanced tab (I don't remember which exactly option/s is/are important) and relaunch firefox 

You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
Changing options in the Control Panel is ackward!! The window doesn't display the buttons at the bottom and it isn't resizable.
I enable the Use SSL 2.0 option, figured out which blue line at the bottom represented Accept then restarted Firefox. It still errors out.

I enable the Use SSL 2.0 option, figured out which blue line at the bottom represented Accept then restarted Firefox. It still errors out.

Ed
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: Tip: Build your own Java Oracle module
Maybe something wrong in java-builder?
My steps were:
1. Download jre-8u25-linux-x64.tar.gz
2. Extract somewhere.
3. Make link by moving (Ctr + Shift + mouse move) libnpjp2.so to /usr/lib/mozilla/plugins (open pcmanfm as root)

My steps were:
1. Download jre-8u25-linux-x64.tar.gz
2. Extract somewhere.
3. Make link by moving (Ctr + Shift + mouse move) libnpjp2.so to /usr/lib/mozilla/plugins (open pcmanfm as root)
You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
Make link!tome wrote:3. Make link by moving


tome wrote:cp -s /path/to/libnpjp2-$arch.so /usr/lib/mozilla/plugins/
Ed_P wrote:Code: Select all
root@porteus:/home/guest# cp /usr/lib64/java/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/

Found the problem. Now it works.
Code: Select all
root@porteus:/home/guest# cp -s /usr/lib64/java/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/

Thanks for sticking with me on this tome.

Just to confirm, the file I used is the "/path/to/libnpjp2-$arch.so" you referred to? I'm not sure what you're referring to with the "$arch" part.
Ed
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: Tip: Build your own Java Oracle module
I have my links renamed and I forgot correct name. My mistake and wrong info for you.I'm not sure what you're referring to with the "$arch" part.

You have mind and feelings. Be wise and clever.
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: Tip: Build your own Java Oracle module
@Slaxmax
Suggestion
Add to your script:
1. if [ "$JAVA_ARCH" = "x64" ], because firefox-x86_64 doesn't see java in lib64, it uses /usr/lib/mozilla/plugins.
2. And question: Now I will build module, it may take 3-5 minutes, proceed?
Suggestion
Add to your script:
1.
Code: Select all
ln -sf /usr/lib64/mozilla/plugins/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
2. And question: Now I will build module, it may take 3-5 minutes, proceed?
You have mind and feelings. Be wise and clever.
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: Tip: Build your own Java Oracle module
update script
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
Thank you.Slaxmax wrote:EDIT: update script 25/03/2015


Java is one of the 3 modules I seem to be updating regularly lately. The other two being Flash and Firefox.
Ed
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: Tip: Build your own Java Oracle module
update
now with GUI interface
now with GUI interface
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
Re: Tip: Build your own Java Oracle module
Im on Ubuntu, and its saying that javabuilder is not a known command. I am in need of updated java 8 module for my Kiosk. I think I also need an updated version of flash to get my interactive page to work 100% correctly. It's odd. On my webpage i need for my kiosk, it works fine if i zoom in or out. But on the default zoom, it causes problems.
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
java-builder is a script module that is downloaded from the link in the opening post of this thread. It may require being run on Porteus.ren3gade wrote:Im on Ubuntu, and its saying that javabuilder is not a known command.
Slaxmax, I recently built the jre-8u45-x86_64-1.xzm module using the new GUI java-builder and its java doesn't work with firefox. I get a "A plugin is needed to display this content". I see that in the /usr/lib/mozilla/plugins directory there is a libnpjp2.so link to the /usr/lib64/java module so not sure what the problem is.

Now when I boot using an older jre-8u31-x86_64-1.xzm module I get an error msg in firefox stating "This plugin is vulnerable and should be updated" AND I have NO /usr/lib/mozilla directory.

BTW My firefox is ESR 31.7.0 if that helps.
Ed
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: Tip: Build your own Java Oracle module
Hi Ed_P
I have installed java Version 8 Update 45, with firefox 38.0.1 in KDE4-x64 and works fine java plugin.
Test the builder in always fresh.
Verify installed java plugin here
https://www.java.com/en/download/installed.jsp
I have installed java Version 8 Update 45, with firefox 38.0.1 in KDE4-x64 and works fine java plugin.
Test the builder in always fresh.
Verify installed java plugin here
https://www.java.com/en/download/installed.jsp
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
I'm using the firefox version from USM in RazorQT x64.Slaxmax wrote:I have installed java Version 8 Update 45, with firefox 38.0.1 in KDE4-x64
"We are unable to verify if Java is currently installed and enabled in your browser."Verify installed java plugin here
https://www.java.com/en/download/installed.jsp
Java shows up in the Porteus Preferences menu and the Control Panel Security tab shows that the Enable Java in the browser option is checked.
In firefox's about:addons' Plugins tab there is only Shockwave Flash and VLC web plugins showing. No jre.
-update-
If I disable the firefox 31.7.0 module the java plugin works with the older firefox 31.0 version in 04-firefox.xzm.
Ed
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: Tip: Build your own Java Oracle module
You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 7920
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Tip: Build your own Java Oracle module
Unfortunately no.tome wrote:Maybe this: http://forum.porteus.org/viewtopic.php? ... 79b#p30163
It appears that the 31.7.0 firefox uses a SeaMonkey lib rather than a mozilla lib. Maybe the link needs to be put in one of them but I don't see a plugin directory.Ed_P wrote: I see that in the /usr/lib/mozilla/plugins directory there is a libnpjp2.so link to the /usr/lib64/java module so not sure what the problem is.
Ed