Questions tagged [java]

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.

Filter by
Sorted by
Tagged with
41
votes
7answers
158k views

How to install the 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 ...
35
votes
7answers
28k views

How can I run Java software?

What is the best way to run Java code on the RP? Does installing the OpenJDK from the Debian/Fedora repos work OK? Are there tweaks one should use for improved performance? Also, is there a "light ...
19
votes
1answer
14k views

Do all GPIO pins have a internal pull-up/pull-down resistors?

So question is: Does all Raspberrys GPIO have a internal pull-up/pull-down resistor which can be enabled from program, in my case Java language with PiJ4? I have Raspberry Model B+.
24
votes
6answers
7k views

Is there a JDK with a JIT compiler available?

OpenJDK compiles and runs on the Pi successfully, but the only version I've found is one without a JIT. Oracle provides such a JDK for other versions of ARM, but not ARMv6. Is there any way to get ...
15
votes
3answers
10k 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
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 ...
3
votes
4answers
32k 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 ...
7
votes
1answer
5k 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
6k 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 ...
6
votes
4answers
10k views

Running the PC version of Minecraft on a Pi

In my never ending quest to try and get a Raspberry Pi to run the full PC version of Minecraft, I think I came across something that could help. I nearly have the program booting up on its own. I'm ...
3
votes
1answer
4k 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?
3
votes
0answers
525 views

Raspberry Pi 2 and JavaFX8: Can't render small images without more GPU RAM

I'm trying to write a simple FX8 image display program on the Raspberry Pi2 without increasing the GPU memory beyond the default 64MB. I seem to get me a NullPointer Exception at com.sun.prism.impl....
3
votes
1answer
1k views

How can I get audio (ultrasonic Nearby API) working with Android Things?

I'm trying out Android Things on my Raspberry Pi 3, and besides a little bit of a learning curve around the adb utility, things are going well. However, it doesn't seem like audio is working at all. ...
2
votes
0answers
227 views

PI4J + Adafruit LCD with MCP23017

Got this device. Python example char_lcd_plate.py is working perfect. But I would like to manage it with Pi4J. I copied bits from python example LCD_PLATE_RS = 15 LCD_PLATE_RW ...
-4
votes
1answer
309 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?