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: 3061
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: 3061
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: 4902
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.
Be warned.
https://www.youtube.com/watch?v=apSFTG85AVs

cPanel Hosting for $4.99/yr - https://hostmy5.com

User avatar
Ed_P
Contributor
Contributor
Posts: 3061
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.
Be warned.
https://www.youtube.com/watch?v=apSFTG85AVs

cPanel Hosting for $4.99/yr - https://hostmy5.com

Post Reply