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

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
162 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
43 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
66 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
113 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
142 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
261 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
89 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
30 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
164 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
114 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
109 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
42 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
130 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
103 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
142 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
195 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
91 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
155 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
112 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
275 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
73 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
303 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
90 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
397 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
80 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
183 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
230 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
230 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
89 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
257 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
62 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
589 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
412 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
160 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
75 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
310 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
69 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
665 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
699 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
222 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
422 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
285 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
743 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
170 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
507 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 ...