Java is a high level programming language. Roughly four billion devices run Java, as it is used in almost all computers and mobile phones, as well as other interactive devices. In order to program with Java, a separate JDK has to be installed beyond the normal language kit.

learn more… | top users | synonyms

3
votes
2answers
23 views

Trying to port an Eclipse RCP application to Raspberry Pi

I have a pre-existing Eclipse RCP application that I'd like to port to the Raspberry Pi. In Eclipse Mars (4.5), there is support for cross-platform export to multiple Linux platforms (PPC, PPC64, ...
1
vote
0answers
46 views

Pi4J and Mifare RC-522 via SPI

I am having problems with coding a program that allows me to read RFID Tags with Pi4J on my Raspberry Pi 2 Model B. I am totally new to Python and would prefer a program written in Java to save some ...
3
votes
1answer
33 views

Caused by: java.lang.RuntimeException: libname: linux-arm.lib not found

uname -a: Linux raspberrypi 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l GNU/Linux Trying to launch application that controls RFID reader. 2016-01-07 21:42:19.593 [main] INFO ...
3
votes
2answers
53 views

Java headless or headful?

I've written a Java app with a GUI to run on the Rasp Pi. It runs OK with keyboard, mouse and display attached to the Pi. This has been fine for development, but I want to run the Pi without it ...
0
votes
1answer
43 views

JAVA: no such file or directory (libjli.so)

OK. Let me start. I am busy making a musical floppy player, connected everything up to my Raspberry Pi, and wrote a Java program to control it. I used OpenJDK 7 on Raspbian Jessie Lite. Then I took a ...
0
votes
2answers
65 views

Java native code

I'm interested is it possible to compile Java code to native code so that I can run it on some cheap board like Arduino or Raspberry pi? What compiler can you recommend?
1
vote
1answer
48 views

Java and DS18B20

I want to read temperature from DS18B20 sensors. Sensors are connected and works fine. How can I read temperature using Pi4J? Is there API for this?
1
vote
0answers
21 views

unable to launch usertest.sh

When I try to execute sudo ./usertest.sh I get the following error: Java is starting. Press Ctrl-C to exit Frame buffer device detected: BCM2708 Frame buffer '/dev/fb0' detected: 656x416, ...
2
votes
1answer
107 views

Java GUI app on Startup

I am building a machine using the Raspberry Pi (Raspbian). I am developing a JAVA GUI application and I want it to run at startup. Basically the machine's only purpose is to run that application, ...
1
vote
1answer
61 views

Raspberry Pi GUI

I was wondering would it be functionally acceptable to get just a terminal OS for the Raspberry Pi and make my own GUI with java. Would that be a sufficient language for making my own 'desktop' ...
4
votes
1answer
74 views

Why is my LED display code so slow?

I have a Raspberry Pi 2 and I am trying to create an led display for it from scratch. It works.. but the refresh is far to slow. My project is running very very slow averaging around 21 ms per ...
7
votes
1answer
329 views

Do all GPIO pins have a internal pull-up/pull-down resistors?

So question is: Does all Raspberrys GPIO have a internal pull-up/pull-down resistor which can be enabled from program, in my case Java language with PiJ4? I have Raspberry Model B+.
1
vote
1answer
65 views

Java Servlets and Raspberry Pi IO

I'm trying to learn how to write simple servlets to use with a Raspberry Pi. I want to control the board I/O via web.I'm using the Pi4J library which is a wrapper for the WiringPi C library.It works ...
1
vote
1answer
30 views

Nebeans + Tomcat dying constantly

I'm using Netbeans 8.0.2 with Tomcat 8.0.15 on Raspbian and run some JSP-Projects on it. The performance of Netbeans is not that great but mostly it does well... until everything crashes. I ...
3
votes
1answer
89 views

Java is crashing my Pi

I am running ScreenConnect on some Rasp Pis and the Pi eventually hangs up and then it will crash and require a reboot to allow ScreenConnect to work again. This is in the ScreenConnect logs: # # ...
1
vote
0answers
28 views

How can I derive the Oracle build number from the Rasbian JDK package?

I'm trying to report a JDK bug to Oracle. However, the Rasbian package number doesn't have the Oracle package number, and the java -version output doesn't match any of the expected build numbers. ...
1
vote
1answer
47 views

Java GPIO options other that PI4J?

What are the options other than PI4J on Java? I looking as lack of response them. I have 3 Tickets open one this Java one with Vaadin and one with PI4J trying to find out why I get a core dump. ...
3
votes
0answers
105 views

Raspberry Pi 2 and JavaFX8: Can't render small images without more GPU RAM

I'm trying to write a simple FX8 image display program on the Raspberry Pi2 without increasing the GPU memory beyond the default 64MB. I seem to get me a NullPointer Exception at ...
0
votes
1answer
86 views

Upgrading to the Latest Java JDK on Raspberry Pi

I'm running in circles trying to figure out how the latest java JDK should be installed or upgraded to on the raspberry pi (it is currently using the original 1.8.0-b132 build). I've found the java ...
2
votes
1answer
77 views

Cannot find package openjdk-7-jre

I am trying to install JDownloader on my raspberry pi who have osmc (debian) as a OS. I am trying to install run below command sudo apt-get update sudo apt-get install openjdk-7-jre and it says ...
0
votes
0answers
76 views

Oracle Embedded suite on Raspberry pi2

I am installing oracle java embedded suite on Raspberry pi2. Raspberry pi2 is already have Java 8 Se pre installed. Now, when i go into JES(Java embedded suite) directory and run java -version, it ...
2
votes
0answers
91 views

interrupts gpio debounce java

My current code does not debounce the input signals from a hardware switch and as a result I get multiple input signals from a single push of the switch. Maybe I'm thinking wrong but I thought that ...
0
votes
0answers
109 views

I can't run GeoGebra on my RPi2B w/ ArchLinux

GeoGebra crashes for me under Arch Linux on my RPi2B:  mf  ~  geogebra Catched FileNotFoundException: /usr/share/geogebra/gluegen-rt-natives-linux-armv6hf.jar (Nie ma takiego pliku ani katalogu), ...
1
vote
1answer
81 views

Serial communication gives incorrect read

I have a serial device which can read and write bytes to the a java application based on inbuilt protocol. The java application in my windows PC gives me the correct output. My java application is ...
0
votes
0answers
185 views

Raspberry Pi 2 : DHT11 : Oracle Java ME Embedded

Anyone integrated DHT11 temperature sensor on Raspberry Pi2 with Oracle Java ME Embedded system? Any direction will be helpful.
0
votes
1answer
165 views

How to stop omxplayer from a JavaFX application?

I'm firing OMXplayer from a JavaFX app and I need to stop the video when a certain event occurs. Does anyone know how to do this? This is the way I start OMX Process Builder pb = new ...
2
votes
1answer
112 views

Alternative to java for an embedded system

Right now I am working on a project that requires sending ascii commands via serial to control a machine (i.e, turning a machine on off, change speed, etc.). The whole thing will be controlled with a ...
1
vote
1answer
54 views

Can I Execute a Jar-File that contains JavaCV 1.0 on a Raspberry PI?

Is this possible to run a Jar-File that contains JavaCV 1.0 on a Raspberry PI?
0
votes
0answers
96 views

serial device communication problem with high baud rate

I have a serial device connected to pi´s USB slot. The device is detected in ttyUSB0. Aten uc232a usb to serial adapter is used between the serial device and pi. I have to run a read and write ...
0
votes
0answers
66 views

What's the best way to control a Matrix of 10 x 20 LED with Raspberry Pi?

I developed a Tetris-Clone in Java. I want to run it on the Raspberry Pi and display it on a 10 x 20 Home-made-LED-Matrix. My question is: What is the best way to achieve that. Here are the solutions ...
5
votes
2answers
2k views

Does Windows 10 IoT support Java on the Raspberry Pi 2?

A preliminary web search seems to indicate that the answer is currently no. Does anyone know about plans to support java on Win 10 IoT?
1
vote
1answer
43 views

Attached LEDs to GPIOs 18, 23, and 24, using JavaME 8. 18 and 24 work, but not 23. Why?

I'm new to Raspberry Pi and I have just figured out how to use Java to power LEDs. However, I cannot get GPIO 23 to work. This is my wiring setup. Here is the java code I am using to power the ...
-1
votes
1answer
71 views

A suitable OS for running a Java application which captures photos and prints them [closed]

I have developed a Java application, which captures photos from a webcam and detects faces (using OpenCV) and prints only the facial area on paper. Now I have to run this app on a Raspberry Pi. I need ...
2
votes
1answer
156 views

PI 2 - GPIO pin stays HIGH even when I toggle ( in Java)

Hi my first Java program to control a LED has failed, the LED does not come on even though the pin state is continuously HIGH ? Heres the Java code :- final GpioController gpio = ...
3
votes
2answers
117 views

Can I design the program via JAVA on PC then transfer it to a Raspberry Pi?

I'm a new user of Raspberry Pi. Actually, I wanted to buy a Raspberry device when I've finished programming it's software, now I'd like to know that Is it possible? if so, would you provide a ...
3
votes
1answer
56 views

Can I use Java SE libraries in Java SE embedded on a Raspberry Pi?

I wonder if I can use Java SE libraries (like the ones we use when designing desktop apps via Java) in Java SE embedded which can be installed on a Raspberry Pi. Is it possible?
-1
votes
1answer
21 views

run JavaME codes directly from raspberrypi

As I understood and examined, you write a JavaME code on your computer and run it on RaspberryPi, is it possible to run your code directly from RaspberryPi or there always should be a computer to send ...
0
votes
1answer
49 views

Raspberry Pi JDK7 [closed]

I am very new to Raspberry PI. I noticed that you could get anything on Raspberry PI including Java. So using this command: sudo apt-get update && sudo apt-get install oracle-java7-jdk I ...
2
votes
2answers
572 views

can't load IA 32-bit .so on a ARM-bit platform

I was hoping to run PHPStorm on my raspberry pi running Ubuntu Mate. I managed to install Java 8 but get the following errors when trying to run PHPStorm: ./inspect.sh Java HotSpot(TM) Server VM ...
0
votes
0answers
134 views

Emulator to write a program without a physical raspberry pi device [duplicate]

I don't have a physical raspberry pi device but I want to create a program to run on it. I will eventually have that device but in the meanwhile is there an emulator which I can use to test my ...
0
votes
0answers
18 views

Java Audiostream stops after X times

im working on a raspberry pi project. it runs java code, wich opens a wav file and plays it. when i press the button quickly a few times it doenst play the sound anymore. UPDATE: the ...
1
vote
1answer
108 views

Can I open a JavaFX dialog in my Java app?

I have written a Java application that opens a dialog (FileChooser) which runs fine on Windows but when I try and run it on the Pi, the dialog fails to appear. What may be wrong?
0
votes
1answer
299 views

JIRA: Syntax error: “(” unexpected when installing on Raspberry Pi 2

Trying to install JIRA on my raspberry pi2 and I keep getting the following error. Unpacking JRE ... Starting Installer ... /usr/local/jira/atlassian-jira.bin.28540.dir/jre/bin/java: 1: Syntax error: ...
1
vote
1answer
65 views

javafx freezing on rotated display

I have a rather weird issue, and have tried so hard to fix. I am running a javafx program on RPI2, the issue comes when i rotate the screen 90 degrees i.e /boot/config.txt display_rotate=1, the app ...
1
vote
2answers
2k views

Which version of java to install on PI?

I've installed latest version of Raspbian onto PI1 Model B+. My understanding is that recent versions of Raspbian come pre-bundled with java hard float version as appears to be mentioned here ...
0
votes
0answers
287 views

SQLite JDBC Driver

I am trying to make a WebApp with Tomcat and SQLite. I managed to install Tomcat. It is running fine. I also managed to make an App. But when deploying it to the Raspi, xerial's JDBC driver jar ( ...
1
vote
1answer
1k views

Installing Tomcat 7 - no JAVA_HOME while JDK is installed

I'm trying to get Tomcat7 running on a Raspberry Pi B+. I get an error message saying that JAVA_HOME is not set. I guess that if I set it in Bash, it won't load on startup, or am I wrong there? sudo ...
1
vote
2answers
530 views

Running a JAR file in Pi results in following error “can't find the main class”

I want to make a GUI application in java which can control the gpio pins. I used pi4j lib for control the pins. I wrote a pin toggle code inside the button click event as shown below. while running ...
1
vote
1answer
246 views

I created a GUI with gpio access in java and tested sucessfully in netbeans IDE. But when I runs in Raspberry pi it showing the following error

following image showing the error while running the JAVA GUI application.I use the following command to run the jar file by adding class path of the pi4j lib.
0
votes
0answers
174 views

How do I use Processing on Raspbian

I would like to use Processing on my Raspberry pi 2, which is in an HDMIPi. I have installed Raspbian as the operating system, and followed the instructions in this link. I also tried: sudo apt-get ...