Questions tagged [java]

Questions about or relating to the Java language, platform or virtual machine. See the JVM (Java Virtual Machine).

Filter by
Sorted by
Tagged with
3
votes
0answers
30 views

Licensing question about using OpenJDK to build and run

I have a small java application which I was building with Oracle JDK till now. Now I am migrating this application to OpenJDK11 and am bit confused with the licensing. I am using RedHat distribution ...
-1
votes
2answers
59 views

Is it legal to modify Open-sourced Java JDK?

I'm planning on making an open-sourced Chinese version of Java by modifying the open-sourced Java JDK, like how the Easy Programming Language (aka. 易语言) did with Visual Basic. Is this legal?
1
vote
1answer
174 views

Java OpenJDK 11 and Spring licenses

I'm developing a web application with Spring (and Spring Boot) and Open JDK 11 and I'm very confused about their licenses and how I can combine them. Open JDK 11 is released under GPL GNU 2 (with ...
3
votes
0answers
45 views

Java 11 program, GPLv2 + Classpath Exception license do I need to check everything

So following this schema if I wish to do everything free I can use the JDK's that are on https://jdk.java.net/ Now say that I wish to publish ready made packages for clients with jlink that I offer ...
1
vote
1answer
266 views

Java OpenJDK GPL license with CLASSPATH EXCEPTION

The JDK license said: only where Oracle has expressly included in the particular source file's header the words "Oracle designates..." Then, is all the OpenJDK released under the GPL with ...
2
votes
1answer
59 views

Effect of 'download separately' on GPL linking

Suppose I have Java jar-files which I provide to my customers under a commercial closed-source license. But my jar-files depend on a few jar-files released under the GPLv2 (without any special GNU ...
1
vote
1answer
96 views

Is using LGPL 1.2 or EPL 1.0 licensed jar allowed in proprietary software in Docker?

I am creating a proprietary java application which uses some open source jars licensed with LGPL 2.1 or EPL 1.0. I am deploying the application in docker container with all jars inside it. Is there ...
-1
votes
1answer
45 views

Can I use LGPL 2.1 licensed java jar without disclosing my complete source code

I am working on a proprietary java application. I want to use a java library licensed LGPL 2.1. One condition of the license is to disclose source code. What does it exactly mean? Do I need to ...
4
votes
1answer
290 views

Can the OpenJDK runtime be used to run third-party Java applications?

With Oracle's shuttering of their Java runtime distribution (the January release will be the last version available for commercial use without a paid license) many people are recommending the use of ...
0
votes
2answers
101 views

I modified and used GPL2 Code in my Apache 2 Open Source Project - can my Project be used commercially, closed source?

I wrote a library in Java for Bcrypt. Bcrypt's OpenBSD implementation uses a exotic flavour of the standard RFC Base64 encoding. Since there are no standard implementations for this, I modified (and ...
4
votes
1answer
1k views

OpenJDK vs OracleJDK Licensing?

This answer on Stack Overflow states that the OpenJDK is licensed under GPLv2 yet the OracleJDK has a different license? My understanding of GPL was that if they used the OpenJDK sources, they would ...
1
vote
1answer
115 views

Publishing Java project with LGPL licensed module

I have a Java project made by multiple JARs and one of them is LGPL licensed. I know that this kind of license doesn't propagate through the modules that uses it. But every code modification that I ...
-1
votes
1answer
89 views

License considerations with Java 9 deprecations

I'm using the javax.activation package in a project that is deployed as a monolithic jar. The mentioned package is licensed under CDDL 1.0 and up to now part of the Java distribution but is now ...
4
votes
1answer
459 views

Bundling JetBrains OpenJDK in closed source software

I am developing a software that comes bundled with JDK. I am planning to use JetBrains OpenJDK for this purpose as it comes with swing support for HighDPI monitors. JetBrains OpenJDK can be found in ...
4
votes
1answer
602 views

jarjar package renaming and Apache 2.0 license violation

If we use the famous package org.apache.commons.lang3 library and modify it as below jarjar configuration; 'rule org.apache.commons.lang3.** com.sample.internal.org.apache.commons.lang3.@1' Does ...
-1
votes
1answer
84 views

Porting Java class libraries

The license for the OpenJDK class libraries is GPL-2.0 with Classpath exception. 1) Is there any issue with regard to Oracle Corporation and copyright if the class libraries were ported to another ...
1
vote
1answer
252 views

Maven jar-with-dependencies - any violation of distribution license?

I have a Java application that uses some Apache common libraries (Apache 2.0 license). I wanted to distribute it as a single fat jar (maven builds a single jar with dependencies packaged in a single ...
6
votes
1answer
556 views

Distributing commercial Docker container image with openjdk:8-jdk

I am building a docker image with the following dockerfile and then pushing it to an AWS ECR repository: FROM openjdk:8-jdk RUN ["mkdir", "/opt/mycompany"] COPY ["myapp.war/", "/opt/mycompany/myapp....
2
votes
1answer
54 views

Copyright on files copied from other Open Source project to my Open Source

I'm working on Open Source Java library. I don't want to waste time writing classes that Spring framework already has. I want to copy single files from Spring Framework and refactor it to cut ...
1
vote
0answers
58 views

“Free” licenses understanding and workaround for a simple java app

I'm developing a java app with my hands and feet. I intend to share it with people and it may become commercial. He who knows can write it all down in notepad but I have been using Eclipse. The ...
0
votes
0answers
25 views

If I write a class transformer for a project licensed under CC BY-NC-ND, may I distribute that transformer?

If I write a Java class transformer that transforms code from a project licensed under CC BY-NC-ND, is that legal? I am not actually distributing a modified copy of the project, but while a specific ...
3
votes
1answer
432 views

GPLv3 redistribution: when does it apply?

I have written a Java program designed to run server-side with a plain HTML web interface: I am reusing and I have integrated in this app a bunch of third-party libraries that are licensed under the ...
4
votes
2answers
4k views

Can I use JavaFX in a Commercial Application for Free?

There is so much confusion regarding this simple question it's driving me crazy. The post here says there is no difference between JavaFX and Java licence now. The post here says that we don't ...
4
votes
1answer
1k views

Is Java for server runtimes like JBoss EAP / Wildfly still free to use?

With Oracle starting to collect license fees from different customers for using Java SE I've asked myself if the usage with a server runtime is still free. I'm no lawyer and all these licenses are ...
8
votes
1answer
3k views

Is it legal to Bundle OpenJDK + HotSpot with a closed source application?

As per my understanding, OpenJDK itself is licensed under GNU General Public License, version 2, with the Classpath Exception which should be no issue for bundling with closed source application. ...
7
votes
1answer
2k views

Is it legal to bundle Oracles JRE with an open source program?

Is it legal to bundle Oracles JRE together with the binaries of a (non commercial) open source program (GPLv3)?
3
votes
1answer
507 views

How to publish my open source library to Maven?

I wrote a GNU-GPLv3 Java library. I want to make it available to people who use a Maven build script (pom.xml) How to do? What are the pre-requisites?
7
votes
1answer
1k views

Java and AGPL 3: how far does license extend into web app?

I want to use a java library released by someone else having an AGPL3 license. I'm not modifying their library, but I do link to it using import com.theirlibrary.methodABC; in one of my java classes ...
4
votes
1answer
1k views

Can we redistribute OpenJDK tools.jar?

My application needs some classes of tools.jar. Many sources converge to say that one cannot redistribute tools.jar from Oracle JDK without redistributing the whole bundle. However, the case of ...
1
vote
1answer
173 views

Licensing a derivative work from a project

I'm going to write a C library that contains the major and most useful functions from Apache Commons IO's Java package. I will rewrite in C a lot of functions contained in Apache Commons. What do I ...
7
votes
1answer
818 views

How to comply to LGPL with Maven/JAR packages?

I’m using Maven to package my JavaFX project for distribution. Since JavaFX is licensed under LGPL, I need to allow users of my project to replace its DLLs by newer or compatible versions. But I don’t ...
2
votes
1answer
294 views

Does the license of jaxb apply to the java class files it autogenerated?

Each generated java file has this header comments // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://...
5
votes
1answer
177 views

Javassit: What has to be distributed when using the pre-compiled .jar?

I am using Javassist within my free open-source project (Javassist is included as pre-built .jar file which has been downloaded from the Releases section on their page, no source code). I'm now ...
1
vote
1answer
132 views

What license is portlet-api.jar in version 1.0?

I'm using portlet-api.jar within my maven project, but I can't find any hint on an applicable license. Is it public domain? And if so, is it written down somewhere? <dependency> <groupId&...
2
votes
1answer
341 views

What is the licensing for ART (Android Runtime)?

Dalvik was licensed under the ASL on the premise that it was reverse engineered: Licensing and patents Main article: Oracle v. Google Dalvik is published under the terms of the Apache License ...
7
votes
1answer
533 views

License violation for OpenJDK and -Xbootclasspath/p:path?

I was looking to override a class in rt.jar with my own version (to guarantee that existing legacy code remains unbroken). With Oracle's JDK, it says the following for the -Xbootclasspath/p:path ...
3
votes
2answers
462 views

Mixing Apache 2.0 and AGPLv3 in open-source project

I have developed and released an open-source Java library under Apache 2.0 license. In the next version, I plan to include BerkeleyDB as one of the supported storage engines. Note that the actual ...
6
votes
1answer
129 views

What part of Android will now have to be under the GPL?

Google said that “As an open-source platform, Android is built upon the collaboration of the open-source community,” a Google spokesperson told VentureBeat. “In our upcoming release of Android, we ...
2
votes
2answers
59 views

Extending class that exposes static methods from BSD Licensed project [closed]

I'm extending an open source library written in Java released under the BSD License. That library has a class, let's call it Utils, that exposes a lot of static methods. The common use case is to ...
19
votes
2answers
2k views

How is Oracle suing Google for copyright infringement when Java is Open Source?

There is a case between Google and Oracle over the use of Java and it's standard library on the Google Android operating system. From [this article]: To recap: Oracle accused Google of ...