Difference between revisions of "Installing Java"

From Funtoo
Jump to: navigation, search
(Emerging java)
Line 24: Line 24:
  
 
Calculating dependencies... done!
 
Calculating dependencies... done!
[ebuild  N    ] dev-java/java-config-wrapper-0.16  8 kB[ebuild  N    ] sys-apps/baselayout-java-0.1.0  71 kB[ebuild  N    ] dev-java/java-config-2.2.0-r1000:2  PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 (-3.4)" 51 kB[ebuild  N    ] app-admin/eselect-java-0.1.0  71 kB[ebuild  N    ] dev-java/icedtea-bin-7.2.3.9:7  USE="X alsa cups -cjk -doc -examples -nsplugin -source" 47,781 kB[ebuild  N    ] virtual/jdk-1.7.0:1.7  0 kB[ebuild  NS    ] virtual/jpeg-62:62 [0-r2:0] 0 kB[ebuild  N    ] virtual/jre-1.7.0:1.7  0 kB
+
[ebuild  N    ] dev-java/java-config-wrapper-0.16  8 kB
 +
[ebuild  N    ] sys-apps/baselayout-java-0.1.0  71 kB
 +
[ebuild  N    ] dev-java/java-config-2.2.0-r1000:2  PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 (-3.4)" 51 kB
 +
[ebuild  N    ] app-admin/eselect-java-0.1.0  71 kB
 +
[ebuild  N    ] dev-java/icedtea-bin-7.2.3.9:7  USE="X alsa cups -cjk -doc -examples -nsplugin -source" 47,781 kB
 +
[ebuild  N    ] virtual/jdk-1.7.0:1.7  0 kB
 +
[ebuild  NS    ] virtual/jpeg-62:62 [0-r2:0] 0 kB
 +
[ebuild  N    ] virtual/jre-1.7.0:1.7  0 kB
 
Would you like to merge these packages? [Yes/No] yes
 
Would you like to merge these packages? [Yes/No] yes
  
  
 
[[Category:System]]
 
[[Category:System]]

Revision as of 02:11, 27 October 2013

What is Java? What purpose does it serve?

Installing java

Editing your make.conf

To tell portage that we would like it to pull java in the next time it is updated, we need to do the following:

 #  nano /etc/portage/make.conf

Running that command should present you with a file containing something similar to this:

File:Make conf example.png
An example make.conf

In the file, if it does not exist, create a line like the following:

 USE="java"

Press Ctrl+X , then y, then enter to write the changes to the file.

Emerging java

To install java, run the following command:

 #  emerge --ask --update --newuse --deep @world

 These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16  8 kB
[ebuild  N     ] sys-apps/baselayout-java-0.1.0  71 kB
[ebuild  N     ] dev-java/java-config-2.2.0-r1000:2  PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 (-3.4)" 51 kB
[ebuild  N     ] app-admin/eselect-java-0.1.0  71 kB
[ebuild  N     ] dev-java/icedtea-bin-7.2.3.9:7  USE="X alsa cups -cjk -doc -examples -nsplugin -source" 47,781 kB
[ebuild  N     ] virtual/jdk-1.7.0:1.7  0 kB
[ebuild  NS    ] virtual/jpeg-62:62 [0-r2:0] 0 kB
[ebuild  N     ] virtual/jre-1.7.0:1.7  0 kB
Would you like to merge these packages? [Yes/No] yes


[[Category:System]]