Tip: Build your own Java Oracle module

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
Ed_P
Contributor
Contributor
Posts: 3199
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Tip: Build your own Java Oracle module

Post#31 by Ed_P » 03 Jun 2015, 02:30

Good idea though tome. This link is what is needed. :good:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# cp -s /usr/lib64/java/lib/amd64/libnpjp2.so    /usr/lib64/mozilla/plugins/
root@porteus:/home/guest# 
:)

-update-

It appears that this link works for the firefox 31.0 version in 04-firefox.xzm also.
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Tip: Build your own Java Oracle module

Post#32 by Slaxmax » 03 Jun 2015, 16:19

tome wrote:@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.
I changed the script as the above message, but I see that there is no standard path to plugins.
I will change the script and make more this link.

Code: Select all

root@porteus:/home/guest# cp -s /usr/lib64/java/lib/amd64/libnpjp2.so    /usr/lib64/mozilla/plugins/
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Tip: Build your own Java Oracle module

Post#33 by Slaxmax » 03 Jun 2015, 17:13

update script version 1.1
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 3199
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Tip: Build your own Java Oracle module

Post#34 by Ed_P » 04 Jun 2015, 03:55

Slaxmax wrote:update script version 1.1
Thanks Slaxmax. :beer:
Ed

User avatar
francois
Contributor
Contributor
Posts: 4984
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Tip: Build your own Java Oracle module

Post#35 by francois » 07 Sep 2015, 22:41

Works perfectly fine.
Voltaire: Le mieux est l'ennemi du bien.

Math
White ninja
White ninja
Posts: 11
Joined: 22 Sep 2015, 06:14
Distribution: 3.1 KDE x64
Location: Nairobi - KE
Contact:

Re: Tip: Build your own Java Oracle module

Post#36 by Math » 29 Sep 2015, 22:45

How about resources? I have a friend who installed on a windows machine and it was so bulky.

User avatar
Ed_P
Contributor
Contributor
Posts: 3199
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Tip: Build your own Java Oracle module

Post#37 by Ed_P » 30 Sep 2015, 15:08

It is big, my 64bit .xzm module is 55MB. But it works for the Java apps I occasionally use, most of which are games. :oops:
Ed

Math
White ninja
White ninja
Posts: 11
Joined: 22 Sep 2015, 06:14
Distribution: 3.1 KDE x64
Location: Nairobi - KE
Contact:

Re: Tip: Build your own Java Oracle module

Post#38 by Math » 01 Oct 2015, 16:14

Ed_P wrote:It is big, my 64bit .xzm module is 55MB. But it works for the Java apps I occasionally use, most of which are games. :oops:
Not the storage space, but CPU etc.

ephraimdov
Ronin
Ronin
Posts: 1
Joined: 28 Aug 2017, 06:46
Distribution: jkks

Tip: Build your own Java Oracle module

Post#39 by ephraimdov » 28 Aug 2017, 06:48

Ed_P wrote:
02 Jun 2015, 15:59

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:
Check this...enable flash player

User avatar
Ed_P
Contributor
Contributor
Posts: 3199
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Tip: Build your own Java Oracle module

Post#40 by Ed_P » 29 Aug 2017, 14:01

Thanks ephraimdov but I fail to see the connection between the java plugin and the flash player. :%)
Ed

Post Reply