-
Notifications
You must be signed in to change notification settings - Fork 344
System requirements
Most of the JPF components, including the jpf-core, are pure Java applications. The oldest version supported is Java SE 8 (in java-8
branch) and the latest Java version supported is Java SE 11 (in master
branch).
If you have to use JDK 1.7 or JDK 1.6, please, get in touch with us through our mailing list ([email protected]). Keep in mind that JDK 1.7 and JDK 1.6 have reached their end-of-life cycle and Oracle does not support them anymore.
You can find out about your java by running the following statement from the command line.
> java -version
java version "1.8.0_20"
...
JPF is a resource hungry application. We recommend at least 2Gb of memory, and generally, use a -Xmx1024m
setting when launching Java. The disk footprint for most JPF projects is fairly small, the jpf-core takes about 40M when fully expanded with sources, compiled classes and jar files. The binary distribution (jar files) takes less than 1.5M.
Some JPF projects do require 3rd party native executables (like DLLs) that are platform specific. Please refer to the specific project pages for details.
Make sure you have the JDK installed, otherwise there is no javac compiler available.
In order to build JPF from a Windows Command Prompt, you have to set the JAVA_HOME
environment variable.
On Mac OS X 10.10, Java 1.7 is default, but /Applications/Utilities/Java Preferences.app
can change the setting. In some cases, it may be necessary to manually change the symlink that determines which version is default:
sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/Current
sudo ln -s 1.8 /System/Library/Frameworks/JavaVM.framework/Versions/Current
If you want to download the JPF source repositories, you need to install the Git distributed version control system on your machine. Most Unix platforms come with Git installed. You can check if you have Git on your machine with the following command:
> git --version
If you are new to Git, check the official website to learn the basics. You can also find some GUI Clients for different platforms. Note that all major IDEs (e.g., Netbeans, Eclipse, IntelliJ) comes with Git support by default.
For more information about Git and how to use it to clone the repository, refer to the Downloading Sources page.
That's all you need! We build JPF with the Gradle Build System, and we provide a wrapper in our repository that requires you nothing but Java. Check the Build, Test, and Run page for more information.
JPF doesn't use Ant build system anymore.
JPF components come with project configurations for both NetBeans and Eclipse, so you might want to use your favorite IDE. Since the JPF build process is Ant-based, NetBeans is generally a better fit because it is Ant-based and can make direct use of your JPF site configuration.
If you want to install the Eclipse plugin, you need an Eclipse version >= 3.5 (Galileo) running under JavaSE-1.8. Please see the Installing the Eclipse JPF plugin page for details.
If you want to go with Eclipse and have to rebuild the JPF Eclipse plugin, make sure you install the Eclipse Plugin Development Environment (PDE) from the respective Eclipse server.
If you want to use the NetBeans plugin, the minimal NetBeans version is 6.5.
Please contact us by creating an issue. We are trying to fix the process below, which no longer works.
-
How to obtain and install JPF
- System requirements
- Downloading
- Creating a site properties file
- Building, testing, and running
- JPF plugins
-
Developer guide
- Top-level design
- Key mechanisms
- Extension mechanisms
- Common utilities
- Running JPF from within your application
- Writing JPF tests
- Coding conventions
- Hosting an Eclipse plugin update site