Go to advanced search

by KrungKrungXD
Thu Feb 09, 2017 9:02 pm
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Re: Running a Java program with GPIO controls in startup

I guess I need to update my thread. Sorry for that
by KrungKrungXD
Thu Feb 09, 2017 9:01 pm
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Re: Running a Java program with GPIO controls in startup

No sir, I installed Ubuntu Mate on rpi3, the java program is created in Netbeans IDE.
by KrungKrungXD
Thu Feb 09, 2017 8:50 pm
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Re: Running a Java program with GPIO controls in startup

still getting the same error . I am new to linux, i didnt understand what the error means . Any other advice how to run the program on startup ? I tried to add the program in "Startup Application Preference" but it doesn't work.
by KrungKrungXD
Thu Feb 09, 2017 8:13 pm
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Re: Running a Java program with GPIO controls in startup

yes I am sure that the file had been created, i looked for the javathing.service file in the /etc/systemd/system/ Here's what inside the file .. [Unit] Description=javaThing daemon service [Service] ExecStart=/usr/bin/java -jar /home/pi/Desktop/dist/DPK.jar StandardOutput=syslog StandardError=syslog...
by KrungKrungXD
Thu Feb 09, 2017 8:17 am
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Re: Running a Java program with GPIO controls in startup

Thanks for the reply, i tried your solution but I get this error "Failed to execute operation: Invalid argument" when i run this command "sudo systemctl enable javathing.service"
by KrungKrungXD
Wed Feb 08, 2017 8:11 pm
Forum: Java
Topic: Running a Java program with GPIO controls in startup
Replies: 10
Views: 3823

Running a Java program with GPIO controls in startup

Hi, i have a java program that have a gpio controls. i can run the program in the terminal using (sudo java - jar path/to/my/program.jar). Now i want to run the program on startup .. anyone can help me ? thanks in advance. The program (with GUI) is created in Netbeans IDE Operating System installed ...
by KrungKrungXD
Wed Aug 31, 2016 3:37 am
Forum: Other projects
Topic: RPi and Printer
Replies: 1
Views: 361

RPi and Printer

is it possible to install or connect a usb printer to my rpi ?

Go to advanced search