I started to use Java again (I haven’t touched it for 5 years…) and I found a very nice JUnit tutorial. Here it is: http://www.vogella.com/tutorials/JUnit/article.html .
Maybe it’s not the best but I like it :) And it has a free version, which is perfect for my needs.
I prefer to use the official Java version that I download directly from Oracle. However, I noticed that XMind tends to use some older versions of Java (OpenJDK, etc.). How to tell XMind which Java to use?
After starting XMind, you can verify which Java it uses. Go to: Help -> About XMind, and click on the button Installation Details. Finally choose the tab Configuration. Here find the line “
-vm” and check its value in the next line. This is the virtual machine XMind has found.
xmind.ini and add this line to the top:
In my case “
/opt/java/bin/java -version” produces the following output:
java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
BeautifulSoup is an HTML parser library for Python.
I installed Oracle Java 7 to
/opt/java. When I start vuze and check Help -> About, it says it is still using Java 6. Hmm…
Edit the vuze launch script:
JAVA_PROGRAM_DIR="/opt/java/bin/" # Add the trailing slash!
From the license of Java, Section 3:
“… You acknowledge that Licensed Software is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. …”
It seems the original text has changed. The new version says: “You agree that neither the Software nor any direct product thereof will be exported, directly, or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation.”
Hmm, I preferred the old one :(
In order to install the Java JCE, follow these steps:
- The first obstacle is how to download JCE :) Where the hell is it? Visit the Java HQ and click on Java SE Downloads in the top right hand corner. Scroll down to the bottom and there it is; perfectly hidden so that no one can find it. The file is called
jce_policy-6.zipand it’s only 9 KB.
- Extract the downloaded ZIP. You’ll have two JAR files:
- Locate your Java installation and enter the “jre” directory. In my case its path is
/opt/jdk1.6.0_24/jre. I will refer to this directory as
$JRE/lib/securityand make a backup of the files
US_export_policy.jar. Then replace them with the ones from the JCE ZIP file.