install JDK-7u9 meng keluarga Ubuntu

ok... dab nembe nyong install netbeans jebulane ana pesan kaya kiye yeh!!!

No Compatible JDK was Found

kenangapa??? nah, soale JDK sing aku enggo kui esih JDK-6 lah netbeans sing tek pasang versi 7.2.1 ya ora compatible dab... langsung bae ya pertama rika mesti donlot dimit jdk-7u9 nang kene

http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.htm

nek donlotane uwis rampung, terus di extract bae dab kaya kiye

$ tar xzvf /home/[jenengan user]/[posisi file e]/file jdk.tar.gz

nek enyong kaya kiye

$ tar xzvf /home/triyadi/Downloads/jdk-7u9-linux-1586.tar.gz

terus gawe direktori jvm nang /usr/lib kaya kiye

$ sudo mkdir -p /usr/lib/jvm

terus pindah file jdk e meng direktori sing nembe digawe mau


$ sudo mv jdk1.7.0_09/ /usr/lib/jvm

nek uwis , terus update dah nganggo perintah kaya nang ngisor kiye

=======================================================================

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_09/bin/java" 1

sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_09/bin/javac" 1 

sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0_09/bin/javaws" 1

========================================================================
terus ketik maning kiye

ln -s /usr/lib/jvm/jdk1.7.0_09/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/


*Nek rika nganggo sing 64bit, ganti 1386 jadi amd64

*Nek mumet komentar bae, aku be mumet gole nulise jiahahaha. . . .


SEKIAN!!!


Tidak ada komentar:

Diberdayakan oleh Blogger.