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.

254 questions
44
votes
7 answers

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 would usually type startx to install the JDK and…
imulsion
  • 771
  • 4
  • 10
  • 19
37
votes
7 answers

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 weight" JVM available for the RP which runs…
Darren Wilkinson
  • 2,922
  • 4
  • 28
  • 27
27
votes
6 answers

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 such a version of the JDK up and running in the…
berry120
  • 10,984
  • 11
  • 53
  • 63
24
votes
1 answer

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+.
Redex
  • 479
  • 2
  • 4
  • 12
21
votes
4 answers

How do I update Java 8 in Raspbian

My Raspberry Pi 3 came with Java version 1.8.0_65 installed. I could not update it to a later version using apt-get - I assume there's no Debian repo for it. I do not know how to update it, and installing a newer version does not replace the…
Traveling Tech Guy
  • 313
  • 1
  • 2
  • 6
17
votes
3 answers

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 purpose” ARM systems, such as those used for the …
Darren Wilkinson
  • 2,922
  • 4
  • 28
  • 27
13
votes
4 answers

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 actually work :) Help appreciated.
imulsion
  • 771
  • 4
  • 10
  • 19
12
votes
2 answers

Custom operating system on the Raspberry Pi?

Me and a fellow coder friend are looking to create our own operating system (OS). 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 JNode, and our own OS, on the Raspberry Pi?
Kezz
  • 223
  • 3
  • 11
9
votes
2 answers

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 to write a driver or some sort with C first in…
John
  • 925
  • 1
  • 8
  • 12
9
votes
1 answer

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, and I cannot access the web interface. Running…
hifkanotiks
  • 1,901
  • 3
  • 16
  • 28
8
votes
3 answers

Does Windows 10 IoT support Java on the Raspberry Pi 2?

A preliminary web search seems to indicate that the answer is currently no. Does anyone know about plans to support java on Win 10 IoT?
Reto Höhener
  • 375
  • 2
  • 4
  • 8
8
votes
3 answers

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 using a tricked out version of LWJGL that disabled…
moocow1452
  • 83
  • 1
  • 1
  • 6
8
votes
4 answers

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 line correctly, but only get stuttering noise…
nanoman
  • 181
  • 1
  • 5
7
votes
4 answers

Unable to run JAVA on Raspberry PI Zero? "VM is only supported on ARMv7+ VFP"

I am using Raspberry PI Zero W. I installed java 1.8 and 1.9 jdk's. Installation is successfully done. When i run the JAVA command on the RPi. Its shows error like: "Error occurred during initialization of VM Server VM is only supported on ARMv7+…
Nagaraj
  • 119
  • 1
  • 1
  • 5
6
votes
5 answers

Raspbian Stretch: Getting Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'

I am trying to get the arduino utilite installed to my Pi Zero, so I did sudo apt-get install arduino And it chugs away for a moment, then barfs this: pi@raspberrypi:~ $ sudo apt-get install arduino Reading package lists... Done Building…
nomadic_squirrel
  • 177
  • 1
  • 1
  • 7
1
2 3
16 17