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
3answers
35 views

How to solve a IndexError in python? [on hold]

I am working in python based in a java code. I have this in Java: public static byte[] datosOEM = new byte[900000]; public static byte x1=0,x2=0,x3=0,x4=0,x5=0,x6=0; I wrote this in python ...
0
votes
0answers
27 views

from Java into python

Someone can help me with this: Anyone who knows how I must change this lines from java code into pygame (python) code. public static int response, DatoInt; public static boolean ...
0
votes
1answer
23 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
19 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
43 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
13 views

pi4j cant seem to get value for serial

im working gps and pi4j im 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 the ...
0
votes
1answer
45 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
0answers
40 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, ...
1
vote
2answers
54 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
57 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
123 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
595 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
32 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
362 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
266 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 ...
0
votes
1answer
43 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
89 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
53 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
254 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
52 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
0answers
382 views

Raspberry pi cannot read from GPIO using pi4J

I am ruuning 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
87 views

pi4j + JavaFX build error

For the life of me I cannot get the pi4j libraries build in netbeans when running in 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
403 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
1answer
154 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
317 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
217 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
988 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
0answers
137 views

Setting Java sound for playing Javazoom Player

Hi I have a program that is using JLayer to play an mp3 radio stream. In Windows and Mac it works fine but somehow on the RPI it doesn't. I have installed the latest softfloat Debian wheezy, and JDK ...
0
votes
4answers
417 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
105 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 ...
0
votes
0answers
356 views

How to install OpenRemote on Raspberry Pi

I would like to try out Open Remote on Raspberry Pi. My raspberry pi is running on Raspian Wheezy. So i followed the installation guide at these link ...
3
votes
1answer
482 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 ...
0
votes
1answer
211 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
1k 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
884 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
520 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 ...
7
votes
3answers
5k views

Java IDE for Raspberry Pi

Anyone know a good Java IDE for the Pi? I tried downloading Eclipse but it didn't work (probably because it's too heavyweight). I need an IDE with low RAM usage and low memory usage, just so it will ...
0
votes
3answers
4k views

javac: command not found - after installing Java

Having just installed Java on the Pi, which in itself was virtually impossible, I have written some Java. Which will not compile. Having written the file, named hello.java, I type: javac hello.java ...
2
votes
1answer
722 views

Bonjour and Java on a Raspberry Pi

So I'm working on a java project for my raspberry pi and I want to create a bonjour service in java. So when I'm coding on my mac I have the imports: import com.apple.dnssd.DNSSD; import ...
27
votes
7answers
49k views

How to install java JDK on raspberry pi

I am an experienced Java programmer who received the raspberry pi for Christmas. Unfortunately, it appears that only Python is installed in it. What command do I type at the start command line where I ...
1
vote
2answers
585 views

Installing Java but being blocked by Permission Denied

I am trying to install java on my raspberry pi following the instructions on: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html, but at the instruction ./bin/java -version, I ...
1
vote
1answer
385 views

Jamvm unable to run blocky on Arch Linux

I have compiled jamvm.I downloaded blocky for github and extracted it. Then I followed some instructions here and when I execute it: Error: jamvm VM not supported So I modified ./blocky-jamvm from ...
1
vote
1answer
919 views

Playing mp3 with Jlayer

I'm trying to develop a java application for the raspberry pi that will play mp3s. I wrote a simple program to see if it would work using JLayer Code for the app is like this: public static void ...
3
votes
0answers
159 views

Run Apache Servicemx on Raspi

Does anyone have experiences in running an Apache Servicemix on a Raspi? I wonder if the memory is enough for that. I would like to use the Raspi as Server for my Note Service when Im not using it ...
7
votes
2answers
2k views

Custom Operating System on the Raspberry Pi?

Me and a fellow coder friend are looking to create our own Operating System. We're looking to create a Java based OS so I would love to poke about the Jnode OS for inspiration. Is there a way to run ...
6
votes
2answers
3k views

How to use Java to read/write data to/from the header pins?

I just got Java running on my Raspberry Pi which took a lot more screwing around than i had hoped. I want to be able to read/write data to/from the header pins from Java. How can I do this? Do I need ...
3
votes
3answers
2k views

Does Raspberry Pi runs Minecraft and Netbeans 7.2?

I have a computer with 512MB of RAM Memory, CPU Intel Celeron 1.60GHz and a 80GB HD. After the new Minecraft update to 1.3.X, Minecraft don't run on my computer any more even on Windows XP and Lubuntu ...
11
votes
2answers
8k views

How can I get and install Oracle's Java JVM for Raspbian?

A recent press release from Oracle suggests that they have just released a JVM for Raspbian. The key text is: Java SE 7 Update 6 introduces a JDK for Linux on ARM v6 and v7 to address “general ...
5
votes
1answer
3k views

How do I install Jenkins?

I have installed Jenkins, using sudo apt-get install jenkins and it did not work immediately, so i worked out to increase the size of the /run tmpfs. Now I am still getting errors in my jenkins.log, ...
7
votes
4answers
2k views

How can I get Java Sound to work?

I have a Java-based MP3 player based on the JLayer / BasicPlayer framework which I'd like to get running on the Pi. I have installed the OpenJDK on the most current Raspbian. The BasicPlayer opens the ...