deep

a Cross Development Platform for Java

User Tools

Site Tools


first_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
first_example [2018/03/09 15:46] – [Example on mpc5200] ursgraffirst_example [2019/11/06 12:22] ursgraf
Line 2: Line 2:
 This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a mpc555 target platform. This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a mpc555 target platform.
  
-  - Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective -> Deep//.+  - Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective -> Other -> Deep//.
   - Create a new deep project with //File// -> //New// -> select //Project..., Deep -> //select// Deep Project//. \\ {{:newdeepproject.png?300|}}   - Create a new deep project with //File// -> //New// -> select //Project..., Deep -> //select// Deep Project//. \\ {{:newdeepproject.png?300|}}
   - On the Target Library wizard page you have to choose where the deep target runtime library is located. Browse to the location where you've installed the library. \\ If you're working on a NTB-PC, you can simply leave the box //Use default library path// checked and click //Next//. \\ {{targetlibrary.png?300|}}    - On the Target Library wizard page you have to choose where the deep target runtime library is located. Browse to the location where you've installed the library. \\ If you're working on a NTB-PC, you can simply leave the box //Use default library path// checked and click //Next//. \\ {{targetlibrary.png?300|}} 
Line 31: Line 31:
   
  // 3) Say hello to the world  // 3) Say hello to the world
- System.out.println("Helloworld");+ System.out.println("Hello world");
  }  }
 } }
Line 88: Line 88:
   
  // Print a string to the stdout  // Print a string to the stdout
- System.out.println("Hello, World");+ System.out.println("Hello world");
  }  }
 } }