You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I' give a try to run examples for Nordic Java , but when run batch file run_sample /sample/00Connection receive "Error: Could not find or load main class com.nordicid.testapplication.Example"
Next I try to run batch "build_all" and after passed NurApiSerial i socketTransport on compiling SamplesCommon began error messages like this:
Compiling SamplesCommon
samples\SamplesCommon\src\com\nordicid\samples\common\SamplesCommon_org.java:8: error: class SamplesCommon is public, should be declared in a file named SamplesCommon.java
public class SamplesCommon {
^
1 error
Compiling samples\00_Connection
samples\00_Connection\src\com\nordicid\testapplication\Example.java:3: error: package com.nordicid.samples.common does not exist
import com.nordicid.samples.common.SamplesCommon;
^
samples\00_Connection\src\com\nordicid\testapplication\Example.java:34: error: cannot find symbol
api = SamplesCommon.createAndConnectNurApi();
^
symbol: variable SamplesCommon
location: class Example
2 errors
So what I'm doing wrong to start this examples?
Regards
Zlatko
The text was updated successfully, but these errors were encountered:
Hi!
I' give a try to run examples for Nordic Java , but when run batch file run_sample /sample/00Connection receive "Error: Could not find or load main class com.nordicid.testapplication.Example"
Next I try to run batch "build_all" and after passed NurApiSerial i socketTransport on compiling SamplesCommon began error messages like this:
Compiling SamplesCommon
samples\SamplesCommon\src\com\nordicid\samples\common\SamplesCommon_org.java:8: error: class SamplesCommon is public, should be declared in a file named SamplesCommon.java
public class SamplesCommon {
^
1 error
Compiling samples\00_Connection
samples\00_Connection\src\com\nordicid\testapplication\Example.java:3: error: package com.nordicid.samples.common does not exist
import com.nordicid.samples.common.SamplesCommon;
^
samples\00_Connection\src\com\nordicid\testapplication\Example.java:34: error: cannot find symbol
api = SamplesCommon.createAndConnectNurApi();
^
symbol: variable SamplesCommon
location: class Example
2 errors
So what I'm doing wrong to start this examples?
Regards
Zlatko
The text was updated successfully, but these errors were encountered: