Can't install Java EE

Hi! I can’t install Java EE and i get always the same error:
./java_ee_sdk-5_08-linux-nojdk.bin
Checking available disk space…
Checking Java™ 2 Runtime Environment…
Extracting Java™ 2 Runtime Environment files…
Extracting installation files…
Launching Java™ 2 Runtime Environment…
Attach to native process failed
Deleting temporary files…

can somebody help me?

Make sure that JDK is already installed.

zypper install java-1_6_0-sun-devel
update-alternatives --config javac

(Select Sun’s Java if something else was the default).

how to search with the zypper wheather it is giving the updated jdk or not?


linux-w0sv:~/Desktop # zypper install java-1_6_0-sun-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  java-1_6_0-sun java-1_6_0-sun-devel 


Overall download size: 37.8 M. After the operation, additional 140.9 M will be used.
Continue? [YES/no]: no
linux-w0sv:~/Desktop # zypper install java-1_6_17-sun-devel
Loading repository data...
Reading installed packages...
'java-1_6_17-sun-devel' not found.
Resolving package dependencies...
Nothing to do.
linux-w0sv:~/Desktop # 

is there any update sun java 1.6 update 17 available?i hope not.to set latest an current alternative you must need to download it manually and configure the alternative…(i guess so)

regards

hi


linux-w0sv:~/Desktop # zypper in -y -l java-1_6_0-sun java-1_6_0-sun-devel && update-alternatives --set java `rpm --eval %_libdir`/jvm/jre-1.6.0-sun/bin/java  


linux-w0sv:~/Desktop # zypper in -y -l java-1_6_0-sun java-1_6_0-sun-devel && update-alternatives --set java `rpm --eval %_libdir`/jvm/jre-1.6.0-sun/bin/java  
Retrieving repository 'openSUSE:Factory:Contrib' metadata [done]
Building repository 'openSUSE:Factory:Contrib' cache [done]
Retrieving repository 'packman' metadata [done]
Building repository 'packman' cache [done]
Retrieving repository 'openSUSE-11.1-Update' metadata [done]
Building repository 'openSUSE-11.1-Update' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  java-1_6_0-sun java-1_6_0-sun-devel 


Overall download size: 37.8 M. After the operation, additional 140.9 M will be used.
Continue? [YES/no]: yes
Automatically agreeing with java-1_6_0-sun package license.
Automatically agreeing with java-1_6_0-sun-devel package license.
Retrieving package java-1_6_0-sun-1.6.0.u17-1.1.1.x86_64 (1/2), 23.7 M (86.5 M unpacked)
Retrieving: java-1_6_0-sun-1.6.0.u17-1.1.1.x86_64.rpm [done (54.7 K/s)]
Installing: java-1_6_0-sun-1.6.0.u17-1.1.1 [done]
Retrieving package java-1_6_0-sun-devel-1.6.0.u17-1.1.1.x86_64 (2/2), 14.1 M (54.4 M unpacked)
Retrieving: java-1_6_0-sun-devel-1.6.0.u17-1.1.1.x86_64.rpm [done (66.2 K/s)]
Installing: java-1_6_0-sun-devel-1.6.0.u17-1.1.1 [done]
Using '/usr/lib64/jvm/jre-1.6.0-sun/bin/java' to provide 'java'.



linux-w0sv:~/Desktop # java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
linux-w0sv:~/Desktop # javac -version
javac 1.6.0_17
linux-w0sv:~/Desktop # 


it works.thanx