project1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project1 [2017/01/23 15:45] – franck | project1 [2019/01/24 17:07] (current) – franck | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Install JPF on your laptop. | + | ====== Part 1 of Project ====== |
+ | |||
+ | Install JPF on your laptop. | ||
* Create the app | * Create the app | ||
- | < | + | < |
package lab; | package lab; | ||
- | public class HelloWorld | + | public class HelloWorld { |
- | { | + | public static void main(String[] args) { |
- | public static void main(String[] args) | + | |
- | | + | |
System.out.println(" | System.out.println(" | ||
} | } | ||
} | } | ||
- | [/code] | + | </code> |
* Run JPF on this app. | * Run JPF on this app. | ||
* Run JPF on the HelloWorld class of the default package. | * Run JPF on the HelloWorld class of the default package. | ||
- | * Print the state space the created app. | + | * Print the state space of the created app. |
+ | |||
+ | Note: it seems that the version of Java is important (see [[https:// | ||
+ | |||
+ | To determine which version of Java is used by eclipse, you can run the following app in eclipse. | ||
+ | <code java> | ||
+ | public class Version { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println(System.getProperty(" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The JPF plugin for eclipse seems not to work for the latest version of eclipse. | ||
project1.1485186348.txt.gz · Last modified: 2017/01/23 15:45 by franck