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
1 vote
1 answer
78 views

Netbeans Apache Autogenerated Code - Commercial Use

I used the design palette in Apache Netbeans to design a gui application. I have modified much of the code to suit my needs but some remains pure copy and paste. Am I allowed to use the autogenerated ...
Simon J's user avatar
  • 19
3 votes
0 answers
62 views

How Do I Publish My Java Application On Physical Media? [closed]

I have written an application in Java and my goal is to distribute my software on a disc to be sold. I understand that this is a very complex process and am willing to take it on. Any advice or ...
Termenoil's user avatar
10 votes
3 answers
961 views

Inter-compatibility of licenses

I would like to sell a Java desktop application of mine to more schools after having success with one single school. Seems like it wouldn't have been a problem, if I haven't mixed different licenses ...
Hagenbeck's user avatar
  • 103
2 votes
1 answer
138 views

Proper way to include Copyright information relating to a single Class file

I'm working on a commercial Java product that is distributed as a .war file. I want to add the source code of a class I found in a book to our code base. The book gives no license information for the ...
ThomasH's user avatar
  • 123
3 votes
1 answer
155 views

LGPL 3 and Java package renaming

In my company, we have a library that makes use of a 3rd party library with an LGPL3 license. Although our library does not extend or modify any of the 3rd party library's code, it provides some ...
Gilberto Matos's user avatar
0 votes
1 answer
52 views

Is it legitimate to extract data from Java VM Specification document?

I'm planning to write a bytecode viewer for Java 17 classfile, and distribute my work under some permissive license. In order to keep consistent my implemenation, I'd like to link my code to Chapter 4 ...
Takashi's user avatar
0 votes
1 answer
34 views

Is it legitimate to include Java VM Specification document in my derived work?

I'm planning to make a bytecode viewer for Java 17 classfiles, and distribute my work under some permissive license. For convenience of implemenation, I'd like to include JVMS Chapter 4. The class ...
Takashi's user avatar
1 vote
1 answer
258 views

Can I write closed-source software that makes API calls to AGPL software?

I am writing a closed-source Java Card applet. But as a part of the functionality, I call a static RIPEMD160 method licenced under AGPL. The static method can be compiled separately and loaded onto ...
the thinker's user avatar
1 vote
0 answers
123 views

Java Application for comercial use

I wrote an application in Java. I have a JavaSE-1.8 (jre) execution environment in my project. Do I need any license to distribute the application for commercial purposes? Or does the client need any ...
michal98's user avatar
1 vote
1 answer
1k views

MySQL Connector/J License

I have a question about MySQL Connector/j License. This is released under version 2 of the GNU General Public License (GPLv2). However, I do not fully understand this. If I program a thing, like in my ...
MrFastplace's user avatar
1 vote
0 answers
78 views

JDK Documentation Examples Licence

What is the license for code examples in the JDK's documentation? For example: The code examples present in this javadoc. Additionally, in general do code examples embedded in documentation always ...
Jacob Abel's user avatar
3 votes
2 answers
371 views

Find a library license markdown_to_asciidoc?

In my enterprise project I use as a transitive dependency io.github.swagger2markup:markup-document-builder:1.1.2 which has an Apache-2.0 License. But the problem is one of its transitive dependencies ...
user avatar
2 votes
1 answer
361 views

Impact of GraalVM native images compilation on LGPL-licensed libraries

As far as I have understood, LGPL-licensed libraries must either be linked dynamically or there must be a mechanism to swap them out of the resulting work. See section 4d of the LGPL license. Now in ...
mmaxim's user avatar
  • 21
2 votes
0 answers
101 views

Java Licensing Question

I have questions about Java licensing Well, after many court hearings with Oracle vs Google, I analyzed this topic again and I would like to ask you about a few things: Oracle was accusing Google of ...
Maniues's user avatar
  • 870
2 votes
2 answers
258 views

Using GNU General Public Licensed code in an MIT Licensed application

I am developing a GUI Java-based application using swing and am thinking of using the MIT license, though when reading the licenses stated in the components of java swing I see that they are licensed ...
user25205's user avatar
2 votes
1 answer
77 views

What are the restrictions for software licenses if I use source code from the Java documentation?

I plan to use source code from Oracles Java documentation, which contains the following license information. Since I'm not used to publishing my code, but I have to this time, I have no idea of the ...
woerdi's user avatar
  • 21
0 votes
1 answer
329 views

Licensing a Javadoc JAR file

What are the commons practices for licensing a Javadoc JAR file? Since the Javadoc is automatically generated, is it legally possible to license it under a project-specific license? Otherwise, how to ...
remym19's user avatar
0 votes
1 answer
68 views

Does licensing a parent software under GPL v3.0 satisfy the licensing requirements of GPLv3/LGPL libraries used?

I have written two Java desktop programs that I would like to license under GPLv3 and distribute as executable JARs on Gitlab. The programs use Maven for dependencies and pull in GPLv3 and LGPL ...
SprocketTheSpaceDuck's user avatar
1 vote
0 answers
82 views

Should I pay someone to help me with an open source project? [closed]

Anyone have suggestions on how to get development help on an open-source project? I've got some funding but not enough to hire someone yet. I've been considering offering 'bounties' for specific tasks....
Jeremy's user avatar
  • 119
2 votes
1 answer
519 views

What is the difference between Oracle JDK and OpenJDK

I'm fairly new to Java programming and I've recently read this article from Oracle(from September 2018). https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later. What ...
YummyChocolate123's user avatar
3 votes
0 answers
176 views

Is JavaFX fully open-source?

It's unclear to me whether all components that comprise JavaFX are open-source. Statements on this that I found around the web seem to be unclear too. The official OpenJFX website seems to imply that ...
Tin Man's user avatar
  • 309
3 votes
1 answer
221 views

Is it allowed to modify the java.exe file

as in the title - is it allowed to modify the "Java.exe" and "javaw.exe" files? Like with Resource Hacker? I want to change the executable icon but I am not sure if it is legit. I ...
Nur1's user avatar
  • 131
3 votes
0 answers
142 views

Source and jar without dependencies under MIT, runnable jar with dependencies under GPL

I would like to develop MIT (or Apache 2.0)-licensed software using an LGPL library. As far as I understand this is allowed as long as I'm distributing the library in a separate jar file and loading ...
Jojomatik's user avatar
2 votes
0 answers
89 views

How I do pack JAXB 2.3.3 with my open source programme?

I wrote a little java programme in Java 8 that uses a lot JAXB stuff that I ship as a free JAR, licensed under GPL. Users that have installed Java 9/10 installed need to use jvm parameters to run it. ...
setrok's user avatar
  • 21
1 vote
0 answers
66 views

does anyone know the location of Oracle's 3 different berkeley db source code repositories? [closed]

The Oracle corporation states that their 3 Berkeley DB family products Berkeley DB, Berkeley DB Java Edition and Berkeley DB XML are each offered under the OSS Affero General Public License. I have to ...
Andy Glick's user avatar
2 votes
1 answer
403 views

Shading dependencies with Apache License

My closed-source java project uses dependencies with Apache License (Apache Commons etc.). The license permits it fully to my understanding. The problem is, that because of some technical decisions, ...
user avatar
5 votes
4 answers
2k views

How to change the licence of Java project from GNU/ GPL to MIT / BSD / Apache

I had developed a Java application which is connected to MySQL Workbench by using mysql-connector-java-8.0.21.jar file. When I deploy the project and send source code to the client he says that: The ...
Atif Rizwan's user avatar
0 votes
0 answers
27 views

How to change the licence of Java project from GNU/ GPL to MIT / BSD / Apache [duplicate]

I had developed a Java application which is connected to MySQL Workbench by using mysql-connector-java-8.0.21.jar file. When I deploy the project and send source code to the client he says that: The ...
Atif Rizwan's user avatar
4 votes
1 answer
656 views

Is it allowed to redistribute tools.jar and JRE component of OpenJDK 8?

tl;dr Is it legal to redistribute tools.jar and JRE component of OpenJDK 8 with my app? If possible, tell me what OpenJDK vendor I can redistribute (RedHat, Azul,...) Installing JDK on user machine is ...
HeashSathern's user avatar
3 votes
1 answer
283 views

Does removing some class files from a third-party jar file mean it becomes a derivative work? [duplicate]

We use several LGPL third-party library JARs in our product, some of which contain classes with security concerns, which are identified by the OWASP scan during build. We do not require the classes ...
Mick Francis's user avatar
0 votes
1 answer
319 views

Is it required to disclose proprietary / closed source code of commercial software which utilizes open source CDDLv1.0 libraries?

I am working on a Java server side solution utilizing open source libraries (using jars ‘as-is’) released under CDDLv1.0 license. The open source libraries is either statically or dynamically bound in ...
Jitin's user avatar
  • 19
-1 votes
1 answer
3k views

What is the highest Java version I can use for free?

I want to develop a desktop Java application, deploy it as a jar file and sell it. What is the latest Oracle JDK version I can use to keep it free assuming I don't need further updates nor support and ...
Krystian G's user avatar
5 votes
1 answer
648 views

Which jre may be distributed with my libgdx game?

I moved this question to this place here as I got the information on stackoverflow - the question is offtopic there. Here is my original question at SO (and the discussion): https://stackoverflow.com/...
Grisgram's user avatar
  • 153
2 votes
1 answer
318 views

Licencing Question: Tomcat docker image is built from openjdk:13-jdk-oracle and that is inturn is built from oraclelinux:7-slim

I would like to know if I can use the official Tomcat Docker image from docker hub for commercial purpose without becoming liable to purchase a license or anything from Oracle or some other company. ...
Dojo's user avatar
  • 131
8 votes
2 answers
482 views

Does renaming compiled Java packages violate the Apache license?

For technical reasons (classloader issues), I need to rename the packages of the compiled version of an Apache library when I build my application, (which includes my code and the Apache code, a so-...
J Fabian Meier's user avatar
4 votes
0 answers
113 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 ...
Rao Nagaraj's user avatar
-1 votes
2 answers
171 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?
Hykilpikonna's user avatar
1 vote
1 answer
2k 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 ...
ale97dro's user avatar
5 votes
0 answers
470 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 ...
Tschallacka's user avatar
2 votes
1 answer
1k 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 ...
Ozkar's user avatar
  • 29
6 votes
1 answer
479 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 ...
MarnixKlooster ReinstateMonica's user avatar
2 votes
1 answer
685 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 ...
Shashwat Kumar's user avatar
0 votes
1 answer
2k 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 ...
Shashwat Kumar's user avatar
4 votes
1 answer
2k 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 ...
Harry Johnston's user avatar
0 votes
1 answer
405 views

License - register software that using JNA library

I have created a program which uses the JNA (JAVA Native Access) library. Now, I would like to register it under some software license (I have not yet decided which), my question is: Can I register ...
A. Ab's user avatar
  • 17
0 votes
2 answers
436 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 ...
Patrick's user avatar
  • 103
5 votes
1 answer
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 ...
Ryan Leach's user avatar
1 vote
1 answer
448 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 ...
Michele Bortolato's user avatar
-1 votes
1 answer
491 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 ...
user2011659's user avatar
6 votes
1 answer
2k 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 ...
Klemen's user avatar
  • 171