Java 7 JDK in 12.1

Tried to install it via default rpm on this link but suse still uses v1.6. How to fix it?

> How to fix it?

is this helpful: <http://forums.opensuse.org/showthread.php?t=467001> ??


DD http://gplus.to/DenverD
http://tinyurl.com/DD-Caveat
openSUSE®, the “German Automobiles” of operating systems

It still use the v6 because the alternatives (in /etc/alternatives) are not updated.
I wrote a bash post-install script to fix this.
It works for 64bit systems but can be modified.

pastebin : Paste2: Next Generation Pastebin - Viewing Paste 1740099

Thank you, it works!

Am 19.11.2011 15:16, schrieb paradajz:
> Thank you, java -version and javac -version now report Java 7 but I
> still can’t use it in Eclipse Indigo, grr!
>
Why not? You can point eclipse to any JDK in the project settings (or if
you prefer in the default settings for projects). What is the error message?


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

If you want the stable and secure 6u29, you can install it easily like this:
Oracle (Sun) Java for openSUSE - Easy Linux tips project

Am 19.11.2011 23:36, schrieb pjotr123:
>
> If you want the stable and secure 6u29, you can install it easily like
> this:
> ‘Oracle (Sun) Java for openSUSE - Easy Linux tips project’
> (http://sites.google.com/site/easylinuxtipsproject/java-for-opensuse)
>
That is no answer to the OPs question who obviously wants to develop
with Java 7 and not with Java 6.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram