asebak / embeddedlinux-jvmdebugger-intellij

Embedded Linux JVM Debugger for Raspberry Pi for IDEA Platform
Apache License 2.0
55 stars 21 forks source link

java: command not found #81

Closed onlinelei closed 5 years ago

onlinelei commented 5 years ago

bash Deploying to the Embedded Target Executing Command :mkdir -p /home/pi/IdeaProjects/pi_playGround Executing Command :cd /home/pi/IdeaProjects/pi_playGround Executing Command :mkdir -p classes Executing Command :mkdir -p lib Executing Command :cd /home/pi/IdeaProjects/pi_playGround/classes Executing Command :rm -rf * Uploading: 0% Uploading: 14% Uploading: 24% Uploading: 34% Uploading: 44% Uploading: 54% Uploading: 64% Uploading: 74% Uploading: 84% Uploading: 94% Finished Deploying Java Application On The Embedded Target Device.

You're Building on Embedded Linux <<<<<<<<

Executing Command :sudo kill -9 $(ps -efww | grep "Main"| grep -v grep | tr -s " "| cut -d" " -f2) Executing Command :cd /home/pi/IdeaProjects/pi_playGround Executing Command :tar -xvf pi_playGround.tar Executing Command :rm .tar Executing Command :sudo java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1234 -cp classes:lib/'' Main

Usage: kill [options] [...]

Options:

[...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). classes/Main.class lib/pi4j-core-1.2.jar sudo: java: command not found Process finished with exit code 1