Posts

Showing posts with the label Java

JMeter for Windows 7

Image
Environment Used - Windows 7 - JMeter 2.7 - JDK 1.6.0 or later - Command Prompt Installation Procedures I have task about performance testing for our local project. I am using JMeter for this kind of task and this application (JMeter) is open source application by Apache. I think JMeter is good for JavaEE developer, I haven't tried using JMeter for other platform than Java yet. JMeter need Java to running application, so we would have Java on our OS before we run JMeter application. Below are steps for JDK instalation: 1. Install JDK for Windows 7, JDK could be donwloaded at this site (http://www.oracle.com/technetwork/java/javase/downloads/index.html). I am using JDK 1.6.0 but this tutorial also good for latest JDK e.g. JDK 1.7.0 2. After JDK installation finish, we should setup JAVA_HOME at environment variables. Right click on Computer then select 'properties' 3. Choose 'Advanced System settings' 4. Click on Environment Variables... butt...

Installing Java 7 for Ubuntu Pricise Pangolin

Image
Environment used: - Compaq CQ42 Laptop - Ubuntu Pricise Pangolin (12.04) - JDK 7 file (jdk-7-linux-i586.tar.gz) - Terminal Installation Procedures: My Ubuntu already have Open JDK that also good for development, but what I need is the official Java JDK. I'm going to install JDK 7 for my Ubuntu 12.04. I used steps below for installing JDK: 1. Donwload JDK 7 from here . I am using jdk-7-linux-i586.tar.gz 2.  Now extract the file that already downloaded. Open terminal. For example I stored my file at /Downloads folder. Run script like below tar -xvf ~/Downloads/jdk-7-linux-i586.tar.gz Extract file 3. Next we need to create a folder to store JDK files and folder. I created 'jdk7' as a folder. Still at terminal then run command below. sudo mkdir -p /usr/lib/jvm/jdk7 4. Move all extracted files into new location. sudo mv jdk1.7.0_03/* /usr/lib/jvm/jdk7/ 5. Update Java alternative as follows sudo update-alternatives --install "/usr/bin/jav...