Questions tagged [openjdk]

OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition.

OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform.

OpenJDK is the reference implementation for Java 7 and Java 8.

References

782 questions
202
votes
11 answers

OpenJDK availability for Windows OS

Is there any OpenJDK version available to Windows OS? From the OpenJDK home page (http://openjdk.java.net/) it redirects to Oracle Sun JRE for Windows machine. Is there any existing OpenJDK available to Windows? If yes, where to get it? If not, do…
jerome38
  • 2,047
  • 2
  • 13
  • 4
119
votes
6 answers

JavaFX and OpenJDK

I'm trying to decide whether I could switch to JavaFX for the user interface of my Java application. Most of my users would be using the Oracle JRE, which has JavaFX integrated these days. However, some are using OpenJDK (on linux). This (old)…
mdriesen
  • 1,362
  • 2
  • 9
  • 10
81
votes
8 answers

Is it possible to browse the source of OpenJDK online?

Is it possible to browse the source code of OpenJDK online, just like I can do with SourceForge's projects? I never used Mercury before, so I felt confused. (Note: I don't want to download the source. I just want to browse it online, to see how some…
Hosam Aly
  • 38,883
  • 35
  • 132
  • 179
78
votes
2 answers

Difference between openjdk-6-jre, openjdk-6-jre-headless, openjdk-6-jre-lib

I am having trouble understanding some of the basics of Java JRE. I need to run Java code in an embedded system and for this I need a minimal Java Runtime Environment installed in a Linux kernel, that is to say, the minimum package necessary for…
Jorge
  • 1,016
  • 1
  • 9
  • 16
72
votes
9 answers

How to change maven java home

I want to change maven java home which is open jdk with sun jdk. How can I do it ? root@ak-EasyNote-TM98:~# mvn -version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home:…
RockOnGom
  • 3,343
  • 5
  • 31
  • 51
55
votes
4 answers

What's the location of the JavaFX runtime JAR file, jfxrt.jar, on Linux?

I'm trying to run some JavaFX code with Eclipse Kepler, with e(fx)clipse plugin installed, on a Linux machine, using: java version "1.7.0_21" OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed…
Marco Lackovic
  • 4,522
  • 4
  • 38
  • 46
52
votes
2 answers

Where to report issues of OpenJDK when you're not a OpenJDK developer?

First I thought it's strange that there's no link to a bug tracker on the OpenJDK project page, then I found bugs.openjdk.java.net, but it's only for accredited project members. How do people outside the ivory tower contribute issues? There's the…
Karl Richter
  • 6,271
  • 17
  • 57
  • 120
50
votes
8 answers

openjdk 1.7 in eclipse: operator is not allowed for source level below 1.7

Eclipse gives me an error: '<>' operator is not allowed for source level below 1.7 I guess this is because it is not using java 1.7. Except that it is. At least openjdk 1.7 (my OS is OpenSuse 12.3). I switched back from kepler to juno to reduce…
dorien
  • 4,828
  • 9
  • 43
  • 99
49
votes
1 answer

Using JDK that is bundled inside Android Studio as JAVA_HOME on Mac

I tried to open Android Device Monitor and the Studio showed me this message =-O : It surprised me, because how have I been able to develop Android apps if I didn't have any Java installed?! Actually, Android Studio comes with bundled JDK/JRE…
soshial
  • 3,252
  • 4
  • 27
  • 36
47
votes
2 answers

Why Instant does not support operations with ChronoUnit.YEARS?

This was unexpected to me: > Clock clock = Clock.systemUTC(); > Instant.now(clock).minus(3, ChronoUnit.DAYS); java.time.Instant res4 = 2016-10-04T00:57:20.840Z > Instant.now(clock).minus(3,…
alexandroid
  • 1,151
  • 2
  • 13
  • 27
45
votes
9 answers

The JDK is missing and is required to run some NetBeans modules

Complete error message: The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see http://wiki.netbeans.org/FaqRunningOnJre for more information. Some details: I…
38
votes
2 answers

OpenJDK breaks on processWorkerExit with no breakpoint

I'm running tomcat 7.0.21 on OpenJDK java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) in debug mode via Eclipse. Periodically after serving an…
Ray
  • 1,237
  • 9
  • 16
36
votes
7 answers

For which surprises do I have to prepare myself if I switch from Sun JDK to OpenJDK?

If I'd switch from Sun JDK to OpenJDK which surprises do I have to prepare myself for? What does frequently go wrong and how difficult can this be? Of course, each and every application can have its individual problems, but I'm looking for classes…
Daniel Rikowski
  • 66,219
  • 52
  • 237
  • 318
33
votes
2 answers

Is `1/0` a constant expression in Java?

As far as I understand the Java 8 JLS the expression (1/0) is considered a constant expression, but when I try to compile the following program with OpenJDK 8 I get an error public class Switch { public static void main(String[] args) { …
ReyCharles
  • 1,716
  • 10
  • 30
29
votes
2 answers

Properly set up Java 9 as SDK in Intellij IDEA on Linux due to new folder structure

Before you write me off, please consider that neither of these are answers to my question: How to setup SDK in IntelliJ IDEA? How do I change the IntelliJ IDEA default JDK? In IntelliJ IDEA 2017.2.6, attempting to add JDK9 as an SDK passes but…
anon2234
  • 291
  • 3
  • 4
1
2 3
52 53