B4J Question [ABMaterial] I can't find ABMFeedback URL

PatrikCavina

Active Member
Licensed User
Longtime User
I can't find the url to accede to ABMFeedback, i tried some url but doesn't redirect me to the site.
I tried also using link in donators email.
Someone can provide me the link please?
 

alwaysbusy

Expert
Licensed User
Longtime User
Ah that's right! I had a power failing this morning at home (due to one light bulb going bad, you figure ) I turned on the main switch again, saw that all my server computers started and quickly went to my day job. Completely forgot to restart the feedback jar! I'm still at work, so I will need to do the .jar restart when I'm back at home.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I'm running Ubuntu. Any hints on how I could do that?
ohhhhh yes, because my server are running under ubuntu btw lubuntu.

With this steps i did it:
  • The myapp.jar file is created on the development device in folder Objects of the B4J Project.
  • Logon the Raspberry Pi as User Pi.
  • Create a folder /home/pi/myapp.
  • Copy myapp.jar (and any additional files required) from the development device Objects folder to the Raspberry Pi folder /home/pi/myapp.
    Note: One way is by using WinSCP. Ensure all files are copied to the RPi.
  • Goto folder /home/pi/myapp (cd /home/pi/myapp).
  • Create a file myapp.sh with content below (sudo nano myapp.sh):
    #!/bin/bash
    cd /home/pi/myapp
    sudo java -jar myapp.jar&
  • Save the file - Note: do not forget the ampersand & to start myapp.jar
  • Make the file executable: sudo chmod 755 myapp.sh
  • Add myapp.sh to crontab: sudo crontab -e
  • Add the line to crontab: @reboot sudo /home/pi/myapp/myapp.sh
  • Save
  • Reboot the Pi
  • Check if the process myapp.jar is running (ps -ef | grep myapp)
Source: https://www.b4x.com/android/forum/threads/run-b4j-app-at-startup-on-pi.72301/#content

you can more than one start
B4X:
java -jar myapp.jar&
java -jar myapp2.jar&
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…