System Requirements

In order to run CodeIt© , Java™ must be installed on your system. Java can be downloaded for free, and will run on most operating systems. Also note that, when Java is referred, I mean Java SE (Standard Edition).

Before downloading and installing Java, you should first check if you have a sufficient Java installation already. You can check this from this page: http://www.java.com/en/download/installed.jsp

JRE and JDK

You can choose between installing:
  • The JRE (Java Runtime Environment), which consists of the Java Virtual Machine used for executing Java programs.
  • The JDK (Java Development Kit), which contains a bundle of software for developing Java programs, including the JRE.

The JRE is the core part of Java - it typically takes up less space on your system and is faster to download. CodeIt!© requires just a JRE; if you are new to Java and just want to have a quick look at CodeIt!©, it is recommended that you get this smaller version. If you are already used to programming in Java, you might prefer the JDK. Note that you can always install the JRE first and the JDK later on if you want to.

Installation and configuration

Making sure Java is installed and configured properly

Most of the problems people run into when running CodeIt! © are due to a faulty Java installation, wrong Java configuration, bad Java VM implementation, etc. If something went wrong with this instructions please read and follow the installation notes for how to install and configure Java for your specific system.

PATH must be set

Note that it is really important that you point at the 'bin' folder, and not just JAVA_HOME. The PATH must be set so your system knows where to locate java.exe, which is used to start the Java VM that CodeIt! © requires.

Set path on Windows

Add the path to your PATH environment variable, e.g. PATH=%PATH%;JAVA_HOME\bin.
  1. Find where you installed Java. The default position at: C:\Program Files\Java\jre6\bin
  2. Copy that location.
  3. Right click on My Computer and select Properties. The System dialogue should have appeared. On Vista/7/8, choose "Advanced system settings" in the sidebar. On XP, choose 'Advanced' tab.
  4. Now, click on "Environmental Variables" which is a button at the bottom right.
  5. Under the category "System variables" which is the lower box, scroll down to "Path" and double click on it.
  6. In "Variable value", go to the end of all that text (Remember to put a semicolon down at the end of the original text first or something bad may happen) and paste in the path of your java\bin directory. The one you copied earlier. Then put a semicolon at the end of the java/bin text.
  7. Here's what an example Path value looks like: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\bin;C:\Program Files\Java\jre6\bin (The underlined text is what you may have to put down)

Set path on Windows 64-bit

Be careful when you install Java on Windows 64-bit the installation by default is C:\Program Files (x86)\Java\jre6\bin So you must replace C:\Program Files\Java\jre6\bin by C:\Program Files (x86)\Java\jre6\bin in PATH

Set path on Linux

Many (perhaps most) Linux distributions include java in the path by default, so this is not needed. If it is in your case, add the path to your PATH environment variable PATH=$PATH:$JAVA_HOME/bin 1. Please consult the manual for your distribution. For Gentoo you can find usefully information at the handbook.

Troubleshooting

32-bit vs. 64-bit Java

If you do not have a 64-bit operating system, you should never install a 64-bit version of Java. If you are running 64-bit, then the normal Java versions will probably run just fine on your 64-bit system. In general, it is recommended that to stick to the 32-bit versions of Java on Windows x64, unless you need install the newest versions of Java 6 Update 12 (64-bit) or never. With older versions you might need to setup additional stuff in order to run Java properly on your Windows x64.

Multiple Java installations

In some cases, people have more than one version of the JRE and/or JDK installed in their system. This is not necessarily a problem as long as your system has been properly configured to handle all of them. So if you (or any of your programs) don't need an older version of Java, then should uninstall it. The less Java Runtime Environments you have installed, the better, as your system is less likely to get confused when it has to choose which Java version to use.

Misplaced library

CodeIt! © requires ksoap-j2se.jar file to be placed in a folder named "lib" in the same folder where CodeIt.jar is located. If "lib" folder is misplaced or renamed CodeIt.jar won't run at all.

Associate .jar file correctly with JRE

More than often and not only in JRE’s case, file associations are misplaced when installing various software applications. Typically, JAR associations are ‘stolen’ by archive managers and sometimes not even the experience of professional users can solve this issue.

There are three solutions to this matter. You can install Java Runtime environment all over again or perform the association yourself (click Properties and set the path to javaw.exe). But the third solution is the simplest one and its name is Jarfix. You can install it from here: Get Jarfix

Last edited Jun 20, 2013 at 7:40 PM by snehasishroy, version 2

Comments

No comments yet.