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
5 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
votes
0answers
26 views

how to raspberry pi hindi language with speech recognition [closed]

My project is home appliance by speech recognition So I am leaving form India That are not understand people like us tone English by speech properly. Plz help how to Hindi speech in raspberry pi and ...
1
vote
1answer
27 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
117 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: ...
0
votes
1answer
30 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
126 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
90 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
0answers
193 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
115 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
73 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
76 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
102 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
58 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
123 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
73 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
52 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
174 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
149 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
245 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
212 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
706 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
74 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 ...
-3
votes
1answer
113 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?
1
vote
0answers
329 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
432 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 ...
0
votes
0answers
213 views

Setting up opencv eclipse native library in raspberry-pi (Linux based)

I am trying to setup a java based opencv program to run on raspberry-pi.I installed opencv-2.4.8 on my raspberry-pi. I also installed eclipse to set up opencv.The problem is i am not able to link ...
1
vote
1answer
118 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
296 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
680 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
591 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
182 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 ...
0
votes
1answer
238 views

Zoneminder image problem

this is my first Raspberry Pi project, I'm making home surveillance system with Raspberry Pi and Zoneminder. I got it all up and running expect one and the most important thing, image, I can see the ...
0
votes
0answers
169 views

Problems reading data with usb to serial adapter

I made application in Java that receives requests over HTTP and forwards them to the serial port, and back. I am using RXTX Java library and usb to serial port adapter. From my windows machine where ...
2
votes
0answers
362 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
1answer
347 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
160 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
198 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 ...
0
votes
1answer
239 views

Using PI4J to toggle a led on a breadboard

Since yesterday I been trying to figure out how to turn on a led on and off, my problem is that Pi4J (from what I can see) only takes up to 20 GPIO inputs and my breadboard is set to 30 and from a to ...
0
votes
1answer
102 views

using Java Embedded Suite

I extracted the Oracle Java Embedded Suite to my raspberry pi. For glassfish I only see one jar, glassfish-jes.jar. How do I get this up and running?
1
vote
2answers
983 views

How to get the temperatur of 2 sensors in java, using an extension board?

There are several questions about getting the temperature but non of them covers a solution for java. I want to build al little weather station in java to gett temp values, unfortunatly i am not that ...
0
votes
2answers
906 views

How to install opencv and eclipse on a raspberry pi

Is this possible? I've tried through command line but haven't found a clear tutorial yet. Would it be easier to accomplish this from gui or should I stick with the terminal?
0
votes
1answer
182 views

pi4j cant seem to get value for serial

I am working wit GPS and Pi4J. I am working with gps from adafuith and USB to TTL cable. But when I try to open serial it seem to give me a error. I can see the gps when I type in ls /dev | grep ...
0
votes
1answer
391 views

Pi4J - Changing GPIOs from and to Input, Low and High

I am trying to create something which uses Charlieplexing, and to use it, I need to be able to turn GPIO Pins to and from different states (Low, High and Input) from what I understand from this video: ...
0
votes
1answer
701 views

RaspberryPi MOSI/MISO on java with PI4J

Sorry for my English, but I will try :) I need help with working with RFID reader RC522 (like this). I connected it to Pi with help of this manual, but I cant write right code on Java and Pi4J, which ...
1
vote
2answers
580 views

Audio in Java application won't stop when told

Disclaimer: Not sure whether this is better posted here, or on StackOverflow; let me know if this is the wrong place. Background: I have a simple test application which plays a sound using Java's ...
0
votes
3answers
116 views

Java JDK 8, use with .jar how to? [closed]

I have installed JDK 8 on my Pi but it is still showing JDK 6.. Photo for reference: How to I change it so that applications use JDK 8 now? Thank you.
1
vote
2answers
3k views

Oracle Java could not find or load main class

I have a Raspberry Pi Type Bi with Oracle java installed. Previously I have been able to run java classes e.g. "java MemoryInfo" and the file would run. Now I want to include a separate library and ...
1
vote
1answer
132 views

Inbound Java RMI not working on Rpi - works fine on Mac and WIndows?

We developed a multi-node application that uses RMI and a master/slave setup to coordinate animations on 4 Pi nodes. The whole thing is written in Java. It works fine running locally on a Pi. It also ...