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

0
votes
0answers
33 views

My First pet project on Pi [on hold]

Ordered my Pi (1GB variant) and was planning to develop my first project on it. By the time i get my Pi, i was reasearching about the thirdparty libs i may require and how should i go about it. ...
2
votes
0answers
33 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 ...
0
votes
1answer
12 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
22 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
20 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 ...
4
votes
2answers
429 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
28 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 ...
-2
votes
1answer
40 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
64 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 = ...
2
votes
2answers
65 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 ...
2
votes
1answer
29 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
14 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
35 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
179 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
42 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
12 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
72 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
208 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
42 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
457 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
138 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
680 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 ...
0
votes
2answers
268 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 ...
0
votes
1answer
137 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
126 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 ...
1
vote
1answer
389 views

How do I remove JDK6 from my pi

Im trying to install JDK version 7 on my raspberry pi, but when I try it keeps saying the current version is 1.6.0_34. How do I remove the old JDK to allow the new one to run?
1
vote
1answer
74 views

Missing log file

I wrote a .jar file that is supposed to be run once a day that interacts with Google App Engine. When I run it from the computer, it runs just fine and creates a logfile that details some statistics. ...
0
votes
1answer
239 views

GPIO pin already exist GPIO 1 error

I am working on raspberry pi to blink the LED using java. Its working fine for the first time and it giving this error if I try to run for next time. GpioController gpioController = ...
0
votes
2answers
86 views

LED wont light up

Working from this example, I'm trying to get the LED to turn on and off. The code runs displaying text, but the LED still remains off. My setup: (3v3) Redwire: GPIO 7 and 30d LED: (pos) 30e and ...
1
vote
0answers
59 views

How can I tell if Java is performing properly?

There are many different versions of Java and many instructions on how to install the fastest Java version on a Raspberry Pi. How can I tell if the one I've installed is using hard floats? Are there ...
1
vote
1answer
235 views

Java ME embedded has no effect on the raspberry pi's gpio

I recently tried following the instructions listed here: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPi_GPIO/RaspberryPi_GPIO.html#section1 I was able to do the extremely ...
1
vote
1answer
169 views

rPi B+ Arch Linux running Java application

My customer's java app (.jar) file runs on rPi B+ with arch linux installed. Now, I've also enabled hardware watchdog timer which purpose is to reboot rPi when java app hangs. Now, I've configured the ...
1
vote
0answers
284 views

Java app won't start after updating

After updating my raspberry (Raspbian) and everything on it including java my java application won't start anymore, does anyone know what these crashlog mean and how to solve it or create a ...
3
votes
1answer
288 views

Java 8, jfxrt.jar not included?

Just got my Pi yesterday, and I've been trying to install Java for use with a Java/JavaFX application. I keep getting a classNotFound exception in my app when I try to run it. It turns out, there's no ...
1
vote
1answer
911 views

GUI for Pi - Python or Java

I would like to know whether a Java based (using Pi4j library and Swing) or Python based GUI (using Tkinter) is more suitable for Pi in terms of execution speed. Following things need to be ...
2
votes
1answer
1k views

Minecraft server on raspberry pi cluster

Can i run a minecraft server on a cluster of 4 or 8 raspberry pis (model B+), and use all core and ram for the minecraft server?
0
votes
1answer
82 views

Remote control application [closed]

I connected raspberry with my pc over wireless network. I can use ssh communication, and server installed on my raspberry with my pc's web browser. I need another solution to control my rpi (not ...
-4
votes
1answer
138 views

How do I install java on my Raspberry Pi

Is it possible to install java on my Raspberry Pi? If it is what are the commands I need to execute to install java?
2
votes
0answers
557 views

HTML Button onclick function()

I would like to seek help on my Web Control Interface - LED On and OFF button REST API. I just started node.js two weeks ago and manage to created a basic REST API. It manage to display mySQL database ...
1
vote
1answer
521 views

i have connected webcam to raspberry pi and now i want to get mpeg stream from webcam to my Laptop ?

i have used creative webcam and connected to raspberry pi for the purpose to receive mpeg real-time stream from that webcam to my laptop or on android cell-phone but when one of my classmate installed ...
0
votes
3answers
1k views

PI4J: Multi-threading when listening to Pin Interrupt events

Currently I'm working on a application for my RPi which will be monitoring a set of GPIOs in real-time where the exact time when the GPIO turns HIGH is crucial for my application. The actual date is ...
1
vote
1answer
143 views

PC Minecraft on Pi

In my never ending quest to try and get a Raspberry Pi to run the full PC version of Minecraft, I think it came across something that could help and nearly have the program booting up on its own. I'm ...
1
vote
0answers
377 views

raspberry Pi and processing problem with Camera Capture

I installed Processing 2.2.1 (linux) on the RasPi (running Debian Wheezy) to connect a USB-Webcam and capture video stream with the standart processing.video* library. When I try to run the program ...
2
votes
2answers
1k views

Java Eclipse configuration for raspberry-pi

I have installed java and eclipse in my raspberry-pi.Installed eclipse using sudo apt-get install eclipse Eclipse is installed and i am able to open the IDE through VNC.But there is no run ...
0
votes
1answer
726 views

About website do I need to download Jquery on my Raspberry pi

I have a program running with php JavaScript and jQuery scripts. It is working well on netbeans and my laptop, but it isn't working when uploaded to my Raspberry Pi. I downloaded PHP, PHP5, MYSQL, ...
0
votes
1answer
219 views

Set location of Java user.dir on startup in init.d to path where .jar is located

When executing this script #!/bin/sh CLIENT=/home/pi/epaper2/HttpClient.jar USER=pi OUT=/home/pi/client.log case "$1" in start) echo "starting node: $CLIENT $OUT" java -jar ...
2
votes
0answers
453 views

Ultrasonic sensor get distance with java

I use this script http://devilqube.blogspot.nl/2013/02/using-ultrasonic-range-finder-with.html to get values from my ultrasonic sensor. When I run the code and print the distances it results in a lot ...
0
votes
2answers
395 views

Pi4J i2c error: Error writing to /dev/i2c-1 at address 0x21. Got -20001

I'm trying to use the Pi4J java library to write data to an IO Expander via i2C. When I create a new instance of the MCP23017GpioProvider class using the following code: mcp = new ...
1
vote
1answer
216 views

Raspberry development using Netbeans on Linux desktop

Is it possible to set up a project for Raspberry pi in Netbeans on Linux? If ME SDK 8 is only available for windows, are Linux users forced to use windows? I've tried using Remote Deploy in Netbeans ...
0
votes
2answers
222 views

Can I use openCV with Java SE embedded wrapper for Raspberry Pi?

I will try to explain what I am trying to do, as it seems to be relevant in order to understand my question. I am currently trying to do face recognition from a webcam connected to a Raspberry Pi ...