Page 2 of 3

Re: Tip: Build your own Java Oracle module

Posted: 22 Dec 2014, 18:20
by tome
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 :wink:

Re: Tip: Build your own Java Oracle module

Posted: 22 Dec 2014, 22:59
by Ed_P
Changing options in the Control Panel is ackward!! The window doesn't display the buttons at the bottom and it isn't resizable. :x

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. :wall:

Re: Tip: Build your own Java Oracle module

Posted: 23 Dec 2014, 18:02
by tome
Maybe something wrong in java-builder? :unknown:
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)

Re: Tip: Build your own Java Oracle module

Posted: 23 Dec 2014, 18:54
by Ed_P
tome wrote:3. Make link by moving
Make link! Image

Image
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/
:oops:

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/
I didn't enter the "-s" when I did the "cp" command you gave me. Image

Thanks for sticking with me on this tome. :beer:


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.

Re: Tip: Build your own Java Oracle module

Posted: 23 Dec 2014, 19:04
by tome
I'm not sure what you're referring to with the "$arch" part.
I have my links renamed and I forgot correct name. My mistake and wrong info for you. :good:

Re: Tip: Build your own Java Oracle module

Posted: 10 Feb 2015, 08:08
by tome
@Slaxmax
Suggestion
Add to your script:
1.

Code: Select all

ln -sf /usr/lib64/mozilla/plugins/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
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?

Re: Tip: Build your own Java Oracle module

Posted: 25 Mar 2015, 15:27
by Slaxmax
update script

Re: Tip: Build your own Java Oracle module

Posted: 25 Mar 2015, 16:25
by Ed_P
Slaxmax wrote:EDIT: update script 25/03/2015
Thank you. :good: :beer:

Java is one of the 3 modules I seem to be updating regularly lately. The other two being Flash and Firefox.

Re: Tip: Build your own Java Oracle module

Posted: 05 Apr 2015, 00:22
by Slaxmax
update
now with GUI interface

Re: Tip: Build your own Java Oracle module

Posted: 19 May 2015, 15:51
by ren3gade
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.

Re: Tip: Build your own Java Oracle module

Posted: 02 Jun 2015, 15:59
by Ed_P
ren3gade wrote:Im on Ubuntu, and its saying that javabuilder is not a known command.
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.

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. :unknown:

BTW My firefox is ESR 31.7.0 if that helps.

Re: Tip: Build your own Java Oracle module

Posted: 02 Jun 2015, 16:38
by Slaxmax
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

Re: Tip: Build your own Java Oracle module

Posted: 02 Jun 2015, 17:02
by Ed_P
Slaxmax wrote:I have installed java Version 8 Update 45, with firefox 38.0.1 in KDE4-x64
I'm using the firefox version from USM in RazorQT x64.
Verify installed java plugin here
https://www.java.com/en/download/installed.jsp
"We are unable to verify if Java is currently installed and enabled in your browser."

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.

Re: Tip: Build your own Java Oracle module

Posted: 02 Jun 2015, 19:36
by tome

Re: Tip: Build your own Java Oracle module

Posted: 02 Jun 2015, 19:53
by Ed_P
Unfortunately no.
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.
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.