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

1
vote
1answer
35 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
37 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 ...
2
votes
1answer
34 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 ...
0
votes
0answers
54 views

Performance Java SWING on Raspberry PI

I have partially written my POS java GUI which I would like to run on my raspberry Pi. I am now testing the interface on the pi in combination with an ELO touchscreen and I have experienced a slow ...
1
vote
1answer
105 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 ...
0
votes
0answers
50 views

java swing program not displayed on raspi desktop

I am having a simple java swing program in java with some buttons and labels. I am trying to run the program.When it runs the swing program is running in a minimized mode. I am not able to see the ...
2
votes
1answer
335 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
49 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 ...
-2
votes
1answer
72 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
140 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
204 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
343 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
123 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 ...
0
votes
0answers
34 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
180 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
151 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
175 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
73 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
145 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
120 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
182 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
212 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
99 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
0answers
170 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
0answers
32 views

Jenkins not Visible on LAN

I am trying to run a headless jenkins/subversion Raspberry Pi on my home network. I installed the Raspbian Server image found here, and I have setup subversion with apache2. I have installed jenkins ...
0
votes
1answer
132 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
0answers
305 views

Java socket server-client with pi4j

Hi I need to implement a socket server and client (the last one with gui preferably) with Java in order to control GPIO output with Pi4J. This code is the closest I found but it's missing the client ...
0
votes
1answer
79 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
386 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
0answers
97 views

Why does Java for ARM6/7 not have Java Web Start (javaw/javaws)?

Oraces Java 8 and Java 7 for ARM 6/7(Raspberry Pi) does not contain to javaw or javaws to run jnlp Java Web-Start files. I think also the OpenJDK are missing them. Why is this so? what can I do to run ...
1
vote
2answers
488 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
0answers
91 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 USB ...
0
votes
1answer
219 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
276 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
275 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
96 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.
0
votes
0answers
274 views

On boot start startx and java program

Objective I have a java program which requires to execute on boot up (requires GUI environment) So I need to start startx on boot up and run the java program. What I have done till now 1) able to ...
1
vote
2answers
2k 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
71 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 ...
3
votes
4answers
2k views

Executing a jar file when Raspberry boots up

First of all I am a newbie for Linux. And as I mentioned at the title of my question, I want to execute a jar file, when Raspberry boots up. I have Raspbian OS in my Raspberry PI device. Thanks for ...
2
votes
1answer
636 views

Communication with Android over WiFi

I'm aiming to connect to a Raspberry Pi from my Android phone over WiFi (WiFi direct isn't supported in my phone). I just need to forward character based commands to an Arduino board and maybe send a ...
1
vote
1answer
556 views

How to update manually tomcat 7 7.0.28 to 7.0.47?

http://ryanfx.blogspot.com.br/2013/06/raspberry-pi-powered-android-controlled.html?m=1 Because I do this tutorial and used 7.0.28 version...I need new version because websocket jsr-356... ... how to ...
1
vote
0answers
172 views

How to configure Chromium on Raspbian to use Oracle JRE

I am using IcedTea plugin to run Java applets in Chromium, but a particular applet doesn't work well with it. It works great on Ubuntu where I use the Oracle JRE with Chromium. Since there is no ...
1
vote
1answer
82 views

Which config ? tomcat nat or combo tomcat+mod_jk+apache

I just received my Raspberry pi which I plan to use for a gwt webapp. In performance view, what will be better to do ? only tomcat with NAT to serve my http external port serving static content ...
0
votes
4answers
317 views

Programming on Raspberry Pi device? [closed]

I am new with raspberry pi. Actually I am coming from Java background. Which programming should I use for raspberry pi tasks? The choices are given below:- Java Python Kindly suggest me which one ...
0
votes
0answers
73 views

NoSuchMethodError only on Raspberry Pi

I have created a JavaFX application in Windows 7 using NetBeans 7.3.1 and JDK 1.7. The application includes some external .jars including javafx-dialogs-0.0.3, JayBird, etc. The application runs ...
0
votes
1answer
724 views

Raspberry pi cannot read from GPIO using pi4J

I am running the code at the bottom using java and Pi4j library, pretty much the program checks is the pin is low and waits sometime before turning off the tv. When I reboot my Raspberry and run the ...
0
votes
2answers
771 views

JavaFX Jar doesnt run properly

I edited this question, because I have used a different approach. When running my JavaFX Application on my RasperryPi (with JDK8) with the following command: sudo java -Djavafx.platform=eglfb -cp ...
0
votes
2answers
234 views

Javac with Oracle Embedded SE on Raspberry

I'm trying to run Jenkins on my RaspberryPi. Therefore I installed Java (ejre-7u21-fcs-b11-linux-arm-vfp-client_headless-04_apr_2013.gz). But the compiler is missing (so no javac) is there a way to ...
0
votes
1answer
436 views

my raspberry wont let me upgrade

Every time I try to upgrade I receive the following ouptu: sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run ...