Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [java]

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

3
votes
1answer
37 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
49 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
807 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 ...
0
votes
0answers
108 views

What is the legal way to use Apache Commons Codec library in a project

I created a java application and want to add Apache Commons Codec to it. What is right/legal way to use Apache (or any external library)? Would I be allowed to combine my Apache Commons lib and my ...
1
vote
1answer
88 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
40 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 ...
2
votes
1answer
224 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
523 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
53 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 ...
0
votes
1answer
150 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 ...
4
votes
1answer
395 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
42 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
56 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 ...
4
votes
1answer
247 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
2k 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 ...
5
votes
1answer
857 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
2k 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. ...
8
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)?
1
vote
1answer
392 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?
6
votes
1answer
835 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
731 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
121 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
670 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
232 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
84 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
103 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
243 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 ...
6
votes
1answer
456 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
332 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
109 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
55 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 ...
18
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 ...