Changeset 1329d168 for general/prog
- Timestamp:
- 08/25/2014 06:24:23 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- 77879af
- Parents:
- 7d017df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/openjdk.xml
r7d017df r1329d168 272 272 <bridgehead renderas="sect4">Optional</bridgehead> 273 273 <para role="optional"> 274 <xref linkend="icedtea-web"/> (to obtain icon file for the 275 <command>policytool</command> menu entry), 274 276 <xref linkend="libxslt"/>, 275 277 <xref linkend="lsb-release"/>, … … 390 392 chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen> 391 393 392 <!-- Can't find the icon anywhere. 393 <para>If desired, you may install a .desktop file corresponding to an entry in a desktop menu for <command>policytool</command>, as <systemitem class="username">root</systemitem> user:</para> 394 395 <screen role="root"><userinput>cat >> /usr/share/applications/openjdk-7-policytool.desktop << "EOF" && 394 <para>If desired, you may install a <filename class="extension">.desktop</filename> 395 file so <command>policytool</command> can be accessed from a desktop menu. First, 396 you need to obtain an icon from the <xref linkend="icedtea-web"/> 397 tarball:</para> 398 399 <screen role="root"><userinput>tar -xf icedtea-web-&icedtea-web-version;.tar.gz \ 400 icedtea-web-&icedtea-web-version;/javaws.png \ 401 --strip-components=1</userinput></screen> 402 403 <para>Now, as <systemitem class="username">root</systemitem> user:</para> 404 405 <screen role="root"><userinput>cat ;> /usr/share/applications/openjdk-7-policytool.desktop << "EOF" && 396 406 <literal>[Desktop Entry] 397 407 Name=OpenJDK Java 7 Policy Tool … … 406 416 EOF 407 417 408 install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png &&</userinput></screen> --> 418 install -v -Dm644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen> 419 420 <para>The choice of pt_BR is just an example. You can delete those lines 421 or replace them by corresponding ones in your locale, e.g. fr_FR, with the 422 "Name[fr_FR]" and "Comment[fr_FR]" values given by your translations.</para> 409 423 410 424 </sect2> … … 462 476 the <systemitem class="username">root</systemitem> user:</para> 463 477 464 <screen role="root"><userinput>ln - v -nsfOpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>478 <screen role="root"><userinput>ln -sfv OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen> 465 479 466 480 <para>The information below assumes your system is set up using the
Note:
See TracChangeset
for help on using the changeset viewer.