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
2answers
33 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
11 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
15 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
66 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 ...
1
vote
1answer
47 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
33 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
24 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
66 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
44 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
69 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
82 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
50 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
62 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
25 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
35 views

Restart Java Application

I've got a java application running on boot setup as such - /etc/rc.local su -l pi -c "env FRAMEBUFFER=/dev/fb1 startx &" ~/.xinitrc java -jar app.jar The app boots up in fullscreen without ...
0
votes
1answer
80 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
121 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
36 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
112 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
63 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
119 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
51 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
121 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
128 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
124 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
75 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
213 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
50 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 ...
1
vote
3answers
948 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
411 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
110 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
124 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
65 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
280 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
57 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
522 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
0answers
106 views

pi4j + JavaFX build error

For the life of me I cannot get the pi4j libraries build in NetBeans when running on Windows. It will not work when there is a FXML file in the project (more specifically when i add the pi4j-core.jar ...
0
votes
2answers
536 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
196 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
369 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 ...
0
votes
0answers
246 views

Running a jar file on Raspberry Pi

I had a problem earlier today with running/executing a jar file on a Raspberry Pi remotely. I somehow managed to run/execute the jar on Raspberry Pi. I am facing a new problem, which is very weird to ...
1
vote
1answer
1k views

Opencv on a raspberry PI [closed]

What language would be best to use on a raspberry PI with Opencv. Bearing in mind for each language used : Library updates Development Environment including tool kits Performance ...
0
votes
4answers
587 views

How to output digital value to multiple GPIO pins as one port?

Is it possible to output integer binary values to GPIO pins at once like a parallel port? I need that because I am afraid if I toggled pins one by one there will be invalid intermediate states that ...
1
vote
1answer
135 views

How to add unlimited Crypto-Strength to Java jdk8 for ARM?

I'm running into SSL issues which indicate that jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz needs to be configured for unlimited crypto-strength. Where can I get the jar files to drop-in and ...
3
votes
1answer
492 views

Raspberry PI freezing

I am working on a project to getting data from serial device and transmit it to web. I am using kernel 3.2.27 with busybox few start up scripts like sysfs and proc, wvdial daemon to dial USB modem for ...
1
vote
1answer
225 views

Striping down for java/swing only thin client

Very important note: This same question is also asked at the raspberry pi forums. I guarantee to copy answers from here to there with correct credentials. Hello everyone I am currently developing a ...
4
votes
2answers
2k views

Voice recognition

I was thinking about creating a kind of Jarvis computer (Iron man). Only then a (little) bit more minimalistic. What I want to built is more of a question/answer type of application (something like ...
1
vote
2answers
1k views

JAVA GUI application on Rasberry Pi with touch screen

I am absolutely new to Rasberry Pi. But I want to use it for one of my project requirements. I have developed a Java Swing GUI with NetBeans ( Using Third Party Libraries RxTx, jFreeChart, Dynamic ...
0
votes
1answer
659 views

bash: /home/pi/.bashrc: permission denied when setting PATH variable

After having installed Java I want to write some programs. So I did. But when setting PATH variable permanently with command: ~/.bashrc export PATH=/home/pi/Downloads/jdk1.8.0/bin:$PATH I get this ...