LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-14-2004, 10:15 PM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
How to install java virtual machine package with apt-get?


david@xdavid:~$ dpkg -l java*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============================================-===============================================-==================================================================================================== ==========
un java-common <none> (no description available)
un java-compiler <none> (no description available)
un java-cup <none> (no description available)
un java-runtime <none> (no description available)
un java-virtual-machine <none> (no description available)
un java-virtual-machine-dummy <none> (no description available)
un java1-runtime <none> (no description available)
un java2-runtime <none> (no description available)
un java2html <none> (no description available)
un javalex <none> (no description available)

Comments: java-virtual-machine is not installed.

david@xdavid:~$ apt-cache show java-virtual-machine

Comments: However, my apt-cache does not have the package 'java-virtual-machine'.

david@xdavid:~$ apt-cache search java-virtual-machine
gij-3.3 - The GNU Java bytecode interpreter
java-virtual-machine-dummy - Dummy Java virtual machine
sablevm - Free implementation of Java Virtual Machine (JVM) second edition

Comments: Not in the apt-cache search either.

david:/home/david# apt-get install java-virtual-machine
Reading Package Lists... Done
Building Dependency Tree... Done
Package java-virtual-machine is a virtual package provided by:
sablevm 1.1.0-5
java-virtual-machine-dummy 0.3
gij-3.3 1:3.3.3-6
You should explicitly select one to install.
E: Package java-virtual-machine has no installation candidate

Comments: Anyway, I tried installing the java-virtual-machine package. Read from another thread that any one of the three packages (sablevm, java-virtual-dummy, gij) should install java-virtual-machine. So I installed sablevm.

david@xdavid:~$ dpkg -l java*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============================================-===============================================-==================================================================================================== ==========
ii java-common 0.22 Base of all Java packages
un java-compiler <none> (no description available)
un java-cup <none> (no description available)
un java-runtime <none> (no description available)
un java-virtual-machine <none> (no description available)
un java-virtual-machine-dummy <none> (no description available)
un java1-runtime <none> (no description available)
un java2-runtime <none> (no description available)
un java2html <none> (no description available)
un javalex <none> (no description available)

Comments: After installing sablevm, Java-common package is shown as installed above. However, java-virtual-machine is still shown as not installed. Do I need to install all three packages? Web pages that require java-virtual-machine still prompt me to install it.

What is the correct method to install java-virtual-machine with apt-get?

Thanks !

Last edited by davidas; 04-14-2004 at 10:16 PM.
 
Old 04-15-2004, 06:24 AM   #2
xcity
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
i don't knew you error exactly, here is my steps. install java-common via apt-get, and goto sun's web site to download newest jdk rpm package. use alien to convert into deb package, then use dpkg to install. It works very well in my baby.
 
Old 04-15-2004, 06:19 PM   #3
Outabux
Member
 
Registered: Apr 2003
Location: Greenwood Mississippi
Distribution: Debian.
Posts: 241

Rep: Reputation: 30
does this work for pogo.com, dominoes: check my earlier post, the blackdown version i got doesnt though suse8.2 that has same exact thing does go figure...let me know please
 
Old 04-15-2004, 06:24 PM   #4
Outabux
Member
 
Registered: Apr 2003
Location: Greenwood Mississippi
Distribution: Debian.
Posts: 241

Rep: Reputation: 30
similar URL: http://www.linuxquestions.org/questi...313#post880313
 
Old 04-15-2004, 10:50 PM   #5
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
Add this line to your sources.list

#java
deb http://debian.innovationsw.com/debian unstable/i386/

and make sure your also using the debian unstable mirrors
apt-get install j2sdk
and you should be set..
 
Old 04-15-2004, 11:48 PM   #6
Outabux
Member
 
Registered: Apr 2003
Location: Greenwood Mississippi
Distribution: Debian.
Posts: 241

Rep: Reputation: 30
did an apt-get install j2sdk1.4 after apt-get install j2re1.4 from an already edited /etc/apt/sources.list

check out that url in my earlier post of this thread

still at sqaure one

Thanx and keep it coming cause i dunno!

Last edited by Outabux; 04-16-2004 at 09:06 PM.
 
  


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
How to install Java Virtual Machine for Mozilla? JockVSJock Linux - Software 10 05-26-2005 11:16 AM
which package is Java Virtual Machine? Mathsniper Debian 3 04-17-2005 07:28 PM
What is meant by virtual package wrt apt-get? davidas Debian 2 04-13-2004 06:32 AM
how can i install java virtual machine red hat-ziggis Linux - Software 1 10-23-2003 12:43 PM
Java Virtual Machine beajedi Linux - Newbie 4 07-09-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:21 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
Open Source Consulting | Domain Registration