You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Blaine Heinfeld <bw...@gmail.com> on 2021/12/31 14:46:52 UTC
[java] NetBeans 12.6 Run Remote on Raspberry Pi
I am hoping someone on this list can help me with this issue.
I have been using NetBeans 8.2 and Oracle Java 8 on Windows 10 to cross
develop for a headless Raspberry Pi (various models) for a number of
years. The Raspberry Pi started with Java 8, but has been running Java
11 for 2+ years. All was good.
Recently I upgraded development to NetBeans 12.6 and Java 11 on Windows
10, keeping the same Raspberry Pi configuration. The upgrade appeared
to go perfectly, and I imported my previously working NetBeans 8.2
settings into 12.6. I can build the application using NetBeans 12.6 and
Java 11 on Windows, and successfully run it on Windows.
But run-remote is no longer working. In fact, it doesn't appear any
attempt is made to run on the remote system. I have tested the
Raspberry Pi platform in NetBeans, and the test passes.
Here is the output I see when I attempt to run my application on the
remote Raspberry Pi. I am more of a user than an IDE administrator, but
nothing here appears obviously wrong to me. So I'm not even sure where
to start troubleshooting this issue.
ant -f \\\\DRIVE\\user\\app\\APPV04 -Dnb.internal.action.name=run
-Dremote.platform.rp.target=linuxarm-15
-Dremote.platform.rp.filename=linuxarm -Dremote.platform.password=*****
-Dremote.platform.java.spec.ver=11 run-remote
init:
Deleting: \\DRIVE\user\app\APPV04\build\built-jar.properties
deps-jar:
Updating property file: \\DRIVE\user\app\APPV04\build\built-jar.properties
compile:
Copying 1 file to \\DRIVE\user\app\APPV04\build
Copy libraries to \\DRIVE\user\app\APPV04\dist\lib.
To run this application from the command line without Ant, try:
java -jar "\\DRIVE\user\app\APPV04\dist\APPV04.jar"
deploy:
jar:
run-remote:
BUILD SUCCESSFUL (total time: 4 seconds)
Here are more details of the configuration.
Windows is Windows 10 Home, Version 20H2, OS Build 19042.1415.
NetBeans is:
Product Version: Apache NetBeans IDE 12.6
Java: 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+8-LTS
Runtime: OpenJDK Runtime Environment 11.0.13+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\user\AppData\Roaming\NetBeans\12.6
Cache directory: C:\Users\user\AppData\Local\NetBeans\Cache\12.6
Java on Windows is:
openjdk version "11.0.13" 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
Raspberry Pi is:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Java on Raspberry Pi is:
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode)
Any help appreciated. Thank you!
Blaine
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [java] NetBeans 12.6 Run Remote on Raspberry Pi
Posted by Blaine Heinfeld <bw...@gmail.com>.
I think I have successfully resolved this issue by creating a new run
configuration and a new remote runtime platform from within NetBeans 12.6.
As far as I can tell, the parameters for the configuration and the
platform are all identical to those I imported with the project from
NetBeans 8.2. The only difference appears to be that I created the
configuration and platform from within NetBeans 12.6.
It may not have been necessary to recreate them both. I created the
platform first, but that did not resolve the issue. Then I created the
new run configuration using the new platform and that did the trick.
Blaine
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists