Intel System Studio 2019 Get Started Guide for macOS*
Follow these steps to create an On-Board LED Blink or UP Squared Built-in LEDs project to update and program on a compatible target platform.
For more information about developing Java* projects; for example, taking advantage of example projects and sample code, managing connections to target platforms, and updating the middleware libraries on your target platform, see Develop Java Projects with Intel System Studio.
Step 1: Ensure that required Java programs are installed
The steps below are required for Intel® System Studio 2019 Update 1 and earlier. For Update 2 and later, the steps are not required because AdoptOpenJDK* 11 is part of the installation.
Required for Intel® System Studio 2019 Update 1 and earlier
Make sure that AdoptOpenJDK* 11 is installed on the host system and the Oracle Java Runtime Environment* (JRE) or better is installed on the target system. For example, if your host system has Ubuntu, you can use the following steps to install the AdoptOpenJDK:
sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt install openjdk-11-jdk
For more information, see: Installing Java 11 in Ubuntu.
Alternatively, you can choose to install the default JRE and JDK using the following steps:
sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk
Step 2: Set Maven proxy settings
If your network includes a corporate proxy, set your Maven proxy settings before creating a new Java project. For instructions, see Configuring a proxy.
Sample settings.xml file
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <proxies> <proxy> <id>central-http</id> <active>true</active> <protocol>http</protocol> <host>proxy.example.com</host> <port>911</port> <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts> </proxy> <proxy> <id>central-https</id> <active>true</active> <protocol>https</protocol> <host>proxy.example.com</host> <port>912</port> <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts> </proxy> </proxies> <localRepository/> <interactiveMode/> <usePluginRegistry/> <offline/> <pluginGroups/> <servers/> <mirrors/> <profiles/> <activeProfiles/> </settings>
Step 3: Create and build a new project
Choose File > New > Project to start the new project wizard.
Expand Intel Application Development and select Java Project.
In the Code Samples list, expand Get Started and select On-Board LED Blink or UP Squared Built-in LEDs.
The sample project name appears in the New Project Name field. If you wish to change the name, type over the displayed name.
Click Finish.
Your project is created and displayed in the Project Explorer.
Your project should build without errors. There might be a few warnings, but they can be ignored.
Step 4: Create a new connection
Step 5: Set up credentials
Set up credentials to access the target device. You can use either of the following authentication methods:
If the application accesses hardware sensors, LEDs, or requires elevated privileges, use public key based authentication for a higher level of security. Follow the steps in SSH Connection: Password-less Access to a Remote Linux Target Device.
If the application does not require elevated privileges, you can use login with password .
Step 6: Run the application
The Java application runs on your target. You should see the onboard LED on your target platform begin to blink.
No mraajava in java.library.path - workaround
Follow these steps to workaround the No mraajava in java.library path error:
Paragraph