“UbuntuHelp:Java3dUbuntu”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Java3dUbuntu}} | {{From|https://help.ubuntu.com/community/Java3dUbuntu}} | ||
{{Languages|UbuntuHelp:Java3dUbuntu}} | {{Languages|UbuntuHelp:Java3dUbuntu}} | ||
+ | <<Include(Tag/StyleCleanup)>> | ||
+ | <<Include(Tag/NeedsExpansion)>> | ||
You can use Java3d (1.4.0-beta3 Build 9 tested) with the blackdown j2re1.4 Ubuntu Package | You can use Java3d (1.4.0-beta3 Build 9 tested) with the blackdown j2re1.4 Ubuntu Package | ||
Just download Java3d and install it into /usr/lib/j2se/1.4/jre (more detail above) | Just download Java3d and install it into /usr/lib/j2se/1.4/jre (more detail above) | ||
第9行: | 第11行: | ||
=== Unzip downloaded file === | === Unzip downloaded file === | ||
Unzip java3d-1_4_0_01-linux-i586.zip into "/tmp" as follows: | Unzip java3d-1_4_0_01-linux-i586.zip into "/tmp" as follows: | ||
− | <pre><nowiki>cd /tmp | + | <pre><nowiki> |
+ | cd /tmp | ||
unzip java3d-1_4_0_01-linux-i586.zip</nowiki></pre> | unzip java3d-1_4_0_01-linux-i586.zip</nowiki></pre> | ||
This will create a "java3d-1_4_0_01-linux-i586" subdirectory in /tmp where the downloaded files can be found. | This will create a "java3d-1_4_0_01-linux-i586" subdirectory in /tmp where the downloaded files can be found. | ||
第16行: | 第19行: | ||
Unzip Java 3D 1.4.0_01 into the "jre" directory of your JDK. | Unzip Java 3D 1.4.0_01 into the "jre" directory of your JDK. | ||
For example, if your JDK is in "/usr/lib/j2se/1.4/jre", you would do the following: | For example, if your JDK is in "/usr/lib/j2se/1.4/jre", you would do the following: | ||
− | <pre><nowiki>cd /usr/lib/j2se/1.4/jre | + | <pre><nowiki> |
+ | cd /usr/lib/j2se/1.4/jre | ||
sudo unzip /tmp/java3d-1_4_0_01-linux-i586/j3d-140-linux-x86.zip</nowiki></pre> | sudo unzip /tmp/java3d-1_4_0_01-linux-i586/j3d-140-linux-x86.zip</nowiki></pre> | ||
Verify that the j3d*.jar and vecmath.jar files end up in "/usr/lib/j2se/1.4/jre/lib/ext" | Verify that the j3d*.jar and vecmath.jar files end up in "/usr/lib/j2se/1.4/jre/lib/ext" | ||
Have fun! | Have fun! | ||
---- | ---- | ||
− | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 19:39的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
<<Include(Tag/StyleCleanup)>> <<Include(Tag/NeedsExpansion)>> You can use Java3d (1.4.0-beta3 Build 9 tested) with the blackdown j2re1.4 Ubuntu Package Just download Java3d and install it into /usr/lib/j2se/1.4/jre (more detail above) If you want to use Java3d within Eclipse (Ubuntu Package available), just make sure that the blackdown jre is selected in the eclipse menu "Window/Preferences/Java/Installed JREs"
Get the Java3d source
https://java3d.dev.java.net/ Download java3d-1_4_0_01-linux-i586.zip to a temporary directory, for example, "/tmp"
Unzip downloaded file
Unzip java3d-1_4_0_01-linux-i586.zip into "/tmp" as follows:
cd /tmp unzip java3d-1_4_0_01-linux-i586.zip
This will create a "java3d-1_4_0_01-linux-i586" subdirectory in /tmp where the downloaded files can be found. The file you need for manual installation is "j3d-140-linux-x86.zip".
Install Java 3D
Unzip Java 3D 1.4.0_01 into the "jre" directory of your JDK. For example, if your JDK is in "/usr/lib/j2se/1.4/jre", you would do the following:
cd /usr/lib/j2se/1.4/jre sudo unzip /tmp/java3d-1_4_0_01-linux-i586/j3d-140-linux-x86.zip
Verify that the j3d*.jar and vecmath.jar files end up in "/usr/lib/j2se/1.4/jre/lib/ext" Have fun!