/[gentoo]/xml/htdocs/doc/en/java.xml
Gentoo

Diff of /xml/htdocs/doc/en/java.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.42 Revision 1.43
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.42 2008/09/28 20:29:25 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.43 2009/09/16 15:26:43 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/java.xml"> 5<guide link="/doc/en/java.xml">
6<title>Gentoo Java Guide</title> 6<title>Gentoo Java Guide</title>
7 7
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>0.17</version> 27<version>0.18</version>
28<date>2008-09-28</date> 28<date>2009-09-16</date>
29 29
30<chapter> 30<chapter>
31<title>What is Java?</title> 31<title>What is Java?</title>
32<section> 32<section>
33<title>Overview</title> 33<title>Overview</title>
215</p> 215</p>
216 216
217<pre caption="Listing available VMs"> 217<pre caption="Listing available VMs">
218# <i>java-config --list-available-vms</i> 218# <i>java-config --list-available-vms</i>
219The following VMs are available for generation-2: 219The following VMs are available for generation-2:
2201) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2201) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] <comment>(Build Only)</comment>
2212) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] 2212) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] <comment>(Build Only)</comment>
2223) Blackdown 32bit JRE 1.4.2.03 [emul-linux-x86-java-1.4.2] 2223) IcedTea6-bin 1.4.1 [icedtea6-bin]
2234) Sun 32bit JRE 1.5.0.08 [emul-linux-x86-java-1.5] 2234) Sun JDK 1.5.0.20 [sun-jdk-1.5] <comment>(Build Only)</comment>
2245) Kaffe 1.1.7 [kaffe]
225*) Sun JDK 1.5.0.08 [sun-jdk-1.5] 224*) Sun JDK 1.6.0.16 [sun-jdk-1.6]
226</pre> 225</pre>
226
227<note>
228VMs marked as Build Only may contain security vulnerabilities and/or be EOL.
229Gentoo recommends not setting these VMs as either your system or user VM.
230Please see <uri link="java.xml#build-only">Build Only VM</uri> for more
231information.
232</note>
227 233
228<p> 234<p>
229The <e>*</e> indicates this is the current active vm (system-vm or user-vm when 235The <e>*</e> indicates this is the current active vm (system-vm or user-vm when
230set). The name in the brackets (<e>[]</e>) is the handle or ID for that 236set). The name in the brackets (<e>[]</e>) is the handle or ID for that
231particular VM. You use the handle or the number to <c>java-config 237particular VM. You use the handle or the number to <c>java-config
234 240
235<pre caption="Setting the System VM"> 241<pre caption="Setting the System VM">
236<comment>(By handle (preferred))</comment> 242<comment>(By handle (preferred))</comment>
237# <i>java-config --set-system-vm blackdown-jdk-1.4</i> 243# <i>java-config --set-system-vm blackdown-jdk-1.4</i>
238Now using blackdown-jdk-1.4 as your generation-2 system JVM 244Now using blackdown-jdk-1.4 as your generation-2 system JVM
245WARNING: blackdown-jdk-1.4 is marked as a build-only JVM. Using this vm is not recommended.
239<comment>(By number)</comment> 246<comment>(By number)</comment>
240# <i>java-config --set-system-vm 6</i> 247# <i>java-config --set-system-vm 5</i>
241Now using sun-jdk-1.5 as your generation-2 system JVM 248Now using sun-jdk-1.6 as your generation-2 system JVM
242</pre> 249</pre>
243 250
244<p> 251<p>
245As a regular user, you can use <c>java-config --set-user-vm</c>. 252As a regular user, you can use <c>java-config --set-user-vm</c>.
246</p> 253</p>
247 254
248<note> 255<note>
249You no longer have to <c>source</c> the profile for updates to the user/system 256You no longer have to <c>source</c> the profile for updates to the user/system
250VM take place. 257VM take place.
251</note> 258</note>
259
260</body>
261</section>
262<section id="build-only">
263<title>Build Only VM</title>
264<body>
265
266<p>
267Some virtual machines are flagged as build-only due to being EOL and/or
268containing security vulnerabilities. These virtual machines will not
269automatically be used by Gentoo for the running of applications using Gentoo
270launchers but will still be available for use by Gentoo's build environment as
271some packages may require them for building. The setting of these virtual
272machines as either your system or user VM is strongly discouraged as these VMs
273will then be used when running the <path>/usr/bin/{java,javac,..}</path>
274executables and will also be used by any packages not using Gentoo's launcher
275scripts.
276</p>
252 277
253</body> 278</body>
254</section> 279</section>
255<section id="preferred-vm"> 280<section id="preferred-vm">
256<title>Preferred VM</title> 281<title>Preferred VM</title>

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.20