LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2011, 06:18 PM   #1
dehiobu
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Rep: Reputation: 1
jdk-6u24-nb-6_9_1-linux-ml.sh installation error: No protocol specified.


Hello new to Linux here,my first post here I download the jre and installed it was a bin file so it chmod 755 and ran it. Then I tried to install the JDK which was a jdk-6u24-nb-6_9_1-linux-ml.sh when I do chmod on the file and run it, I get:

Configuring the installer ...
Searching for JVM on the system ...
preparing bundled JVM ...
Extracting installation data ...
Running the installer wizard ...
No protocol specified

the problem is obviously the last line that stops the installation, I know i can download the .bin file and it will be easier but I wont learn anything that way, I might come accros this error in a similar environment any help please.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-28-2011, 07:52 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The problem is that the installer is trying to use X Windows (for the GUI), and it can't.

Q: You're installing from a GUI desktop, correct?

Q: You're running in the GUI as a normal user (and not "root"), correct?

Suggestion:
Try this:
1. Start a command prompt
2. Type "cd ~/Downloads" ("cd" to whatever directory your .sh files is in)
3. Type "xhost +" (this will temporarily leave your X server unrestricted)
4. Try running "./jdk-6u24-nb-6_9_1-linux-ml.sh" again
 
2 members found this post helpful.
Old 04-06-2011, 05:34 PM   #3
dehiobu
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Original Poster
Rep: Reputation: 1
Thank you it worked, very well, many thanks.
 
1 members found this post helpful.
Old 10-23-2012, 10:50 PM   #4
andihermantyo
LQ Newbie
 
Registered: Oct 2012
Distribution: Debian 6.0
Posts: 1

Rep: Reputation: Disabled
Talking

I had the same problem with jdk-7u9-nb-7_2_1-linux-i586-ml.sh and it solved. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get JDK 1.5.0_08 and JDK 1.6.0_10 for Linux Redhat Itanium servers java_ascii Linux - Software 1 09-22-2009 12:17 PM
JDK Installation. rehan999 Linux - Software 1 10-06-2008 09:42 AM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration