JAVA in frugaler Installation

Message
Author
Alex777
Posts: 3
Joined: Wed 15 Aug 2012, 13:52

#21 Post by Alex777 »

also unter anderem dieses hier von oracle Seite habe ich versucht zu installieren

jre-7u6-linux-i586.rpm

Wie genau nach opt?!

Kannst du mir GENAU, sagen was ich genau schreiben muss usw.,, weil ich wie gesagt von Linux wenig Ahnugn habe?! Wäre sehr cool. Danke viel mals!

Edit: Gibt es evtl., sowas wie BAT Datei aus Dos Zeiten oder Skript usw., die das automatisch erledigt, die ganzen Einsellungen der Java Intergration ins Puppy Linux usw?!

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#22 Post by Karl Godt »

Alex777 wrote:also unter anderem dieses hier von oracle Seite habe ich versucht zu installieren

jre-7u6-linux-i586.rpm

Wie genau nach opt?!

Kannst du mir GENAU, sagen was ich genau schreiben muss usw.,, weil ich wie gesagt von Linux wenig Ahnugn habe?! Wäre sehr cool. Danke viel mals!

Edit: Gibt es evtl., sowas wie BAT Datei aus Dos Zeiten oder Skript usw., die das automatisch erledigt, die ganzen Einsellungen der Java Intergration ins Puppy Linux usw?!
.rpm : Oh Graus !

Welches Pup* fährst Du denn ?

Nimm einfach 'ne

jre-*.tar.[gz|bz2|xz] .

Also irgendwas mit Teer .

Anderer Distributions' Endungen haben wahrscheinlich deren Distributions Mappen-Strucktur .

Übrigens : .rpm ist nicht wirklich supported in Puppy .
Meist mit Umweg über rpm2cpio commando .
Aber neuere Pup*s sollen soetwas wie "exploder*" haben .. muss mal schauen
1. Install Mageia .rpm files
As per the above link. I extended the script 'exploderpm' with a '-i' (install) option and the PPM is now using that instead of 'rpm -i'.
Package Manager fixes

Alex777
Posts: 3
Joined: Wed 15 Aug 2012, 13:52

#23 Post by Alex777 »

habe puppy slako 5.3.3 mir installiert, also standert!
habe jdk-7u6-linux-i586.tar.gz runter geladen. wie konkrett installiere es dann?

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#24 Post by Karl Godt »

1.: Oracle ist unuebersichtlich, und hier bin ich vielleicht vom Weg abgekommen .
http://java.com/en/download/manual_v6.jsp fuer die runtime version 6
http://java.com/en/download/manual.jsp#linfuer die runtime version 7

Beide sind so um die 20-30MB download.

JAVA SDE ist wohl etwas mehr mit 90-120MB .

Hab mal kurz */bin und */lib gecheckt : in */bin scheint es zu uebereinstimmen mit binaers+ aber in */lib scheint auf anhieb weniger zu sein .

Aber nichts desto trotz mache ich folgendes : ich mache in */opt einen Ordner */opt/TEST, bewege den DL mit rox dorthin, oeffne ein Terminal dort mit rox (shortcut hab ich als SHIFT+! eingerichtet) und überprüfe kurz wo ich bin :

Code: Select all

pwd
gibt mir ein
/opt/TEST
und

Code: Select all

ls
ein
jdk-7u6-linux-i586.tar.gz
.
Nun nutze ich

Code: Select all

tar -xzf jdk-7u6-linux-i586.tar.gz
und voila simsalabim ist das explodiert. Nein nicht wirklich. Kein Rauch aus dem PC Chassis .
Nun bewege ich den entstandenen Ordner eine Ebene hoch nach */opt .

Nun Link ich */opt/jdk1.7.0_06 nach *opt/java da ich tippfaul und tippdisorder habe mit rox .

Jetzt mus */opt/java/bin/java noch in den PATH Pfad :
Den findet man oder es oder woman in /etc/profile Datei . Dazu muss diese mit geany geöffnet-geändert werden :
PATH="..sehr:/viele/Ordner:/kannst/du:/hier/sehen/bin:..."
wird
PATH="....:/usr/local/bin:/opt/java/bin"
.

Falls frugal solltest Du Dir eine Partition mit Platz suchen für /opt und in den Slacko-Pupsave-file-mein-john.3fs linken .

[*/opt *Joker* mit richtigem absolutem Pfad ersetzen] .

Ich selbst hoffe, ich hab das alles Verstanden. :wink:

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#25 Post by Karl Godt »

http://www.opera.com/docs/linux/plugins/install/#java
fuer Opera :
Java plug-in (Sun/Oracle)

As of Opera 10.50, Opera uses the Java plug-in. Previously Opera used the Java Runtime Environment (JRE) directly.

The installation instructions for Java on java.com are are correct, but the configuration step is wrong. Use the following instructions instead.

Command line instructions to locate the Sun Java plug-in, if installed:
locate libnpjp2.so, or
find / -name libnpjp2.so 2>/dev/null

If Java plug-in is not installed, or you wish to upgrade, proceed as follows:
If you require a functioning BankID, purge your system of all Java implementations except for Sun Java. In particular, icedtea6-plugin (including default-jre and openJDK) should be removed.
Download the Java Runtime Environment that is suitable for your system.
Follow the installation instructions, but ignore the section entitled "Enable and Configure". In what follows, it is assumed that you have installed Java (version 1.6.0_21) in /opt. If you have a more recent version, or you install the plug-in elsewhere, you need to modify the command accordingly.
So that Java will be discovered, type the following commands:
cd /usr/lib/opera/plugins
ln -s /opt/jre-1.6.0_21/usr/java/jre1.6.0_21/lib/i386/libnpjp2.so
MIME types:
application/x-java-applet::Java(tm) Plug-in
application/x-java-bean::Java(tm)

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#26 Post by Karl Godt »

Des weiteren moechte ich auf eine vielleicht alternative hinweisen .

Wer About:home in der URL Linie kennt , koennte auch about:plugins oder about:config eingeben .

Bei FF erscheint dann auch ein Such-Kaestchen in dem java eingegeben werden koennte .

Bei mir erscheint dann :java.default_java_location_others;/usr/java zumB.

Post Reply