PDA

View Full Version : [ubuntu] open jdk not working



mystmaiden
April 24th, 2009, 07:18 AM
I managed to get open jdk downloaded and installed according to the directions but so far its not working. Is there more I need to do to get it going with firefox?

Thanks
mystmaiden

kpkeerthi
April 24th, 2009, 07:20 AM
This (https://help.ubuntu.com/community/Java) might help

mystmaiden
April 24th, 2009, 08:19 AM
I tried that before posting and got a message that jdk was the only java installed and there was nothing to configure...

jespdj
April 24th, 2009, 09:22 AM
What do you mean with "it is not working"? If you want help, you have to be more specific. Do you get an error message? If so, then what is the error message? What makes you think that it does not work?

If you want to use OpenJDK in your browser, install the package icedtea6-plugin, which is a browser plug-in that uses OpenJDK Java:

sudo apt-get install icedtea6-plugin

mystmaiden
April 24th, 2009, 04:09 PM
There was no error message, java simply didn't do anything at all on pages that have java - I got a blank box. I'll try your suggestion. Thanks much.

mystmaiden
April 24th, 2009, 04:26 PM
I tried that but it said it couldn't find the plug-in.

I'm pretty sure there's some obvious step I'm missing here, but I can't figure out what it is.

gandaran
April 24th, 2009, 04:32 PM
I tried that but it said it couldn't find the plug-in.

I'm pretty sure there's some obvious step I'm missing here, but I can't figure out what it is.
open synaptic package manager, find the icedtea plugin, mark for install and click the apply button.
why not use sun-java instead? or are you running 64-bits ubuntu?

mystmaiden
April 24th, 2009, 04:43 PM
when I used add/remove all available sources icedtea came up then before I could move the cursor over there to check it, it disappears. I chose jdk because its what I found on an Ubuntu page. I'm fine with sun java. Now to get rid of jdk...

mystmaiden
April 24th, 2009, 05:06 PM
I removed open jdk, got sun java... it downloaded fine but this came up in the terminal window and it just stopped.
Configuring sun-java6-jre ├───────────────────────┐
│ │
│ Operating System Distributor License for Java v1.1 (DLJ) ↑
│ ▮
│ Operating System Distributor License for Java version 1.1 (DLJ) ▒
│ ▒
│ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM ▒
│ STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON ▒
│ THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE ▒
│ AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY ▒
│ INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE ▒
│ TERMS OF THE AGREEMENT. ▒
│ ▒
│ 1. DEFINITIONS. "Software" means the code identified above in binary ▒
│ form, any other machine readable materials including, but not ▒
│ limited to, libraries, source files, header files, and data files), ↓

│ <Ok>


Looks like I need to accept or type okay for the permission but nothing I have done so far has worked. It's just stalled there now

gandaran
April 24th, 2009, 05:18 PM
I removed open jdk, got sun java... it downloaded fine but this came up in the terminal window and it just stopped.
Configuring sun-java6-jre ├───────────────────────┐
│ │
│ Operating System Distributor License for Java v1.1 (DLJ) ↑
│ ▮
│ Operating System Distributor License for Java version 1.1 (DLJ) ▒
│ ▒
│ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM ▒
│ STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON ▒
│ THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE ▒
│ AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY ▒
│ INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE ▒
│ TERMS OF THE AGREEMENT. ▒
│ ▒
│ 1. DEFINITIONS. "Software" means the code identified above in binary ▒
│ form, any other machine readable materials including, but not ▒
│ limited to, libraries, source files, header files, and data files), ↓

│ <Ok>


Looks like I need to accept or type okay for the permission but nothing I have done so far has worked. It's just stalled there now

if you use a graphical gui, add/remove or synaptic package manager to install you wont encounter this problem.
I think you have to highlight <OK> then press enter.

mystmaiden
April 24th, 2009, 05:23 PM
tried Synaptic first and was unsuccessful. I'm sure the problem is me not Ubuntu.

I highlighted okay and hit enter - nothing...

found the solution on this forum, I had to hit F12 then accept the license agreement.

Thanks all