Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

We have an application in Java. Now we want to export this application to clients (free of charge). Can we ship JRE7 along the application (precaution as client might not have Java installed). Is it legal to do this?

share|improve this question
add comment

1 Answer

up vote 12 down vote accepted

This is addressed at official page at www.java.com - Licensing and Distribution FAQs:

Can I distribute Java with my software?

Yes, you can provide Java with your software provided you abide by the terms and conditions of Java binary code license.

Can I distribute Java Development Kit (JDK) along with Java Runtime Environment (JRE) on the same CD-Rom?

Yes, provided that you abide by the terms and conditions of the JDK's binary code license.

Can we provide Java on a CD to ensure that people who do not have internet can install it directly from the CD?

You may make Java available to users within your organization on a CD. And you may distribute Java bundled with your application to users outside of your organization. You may not distribute Java alone on a CD.

share|improve this answer
2  
Or you can ship OpenJDK and comply to the GPL. –  ysdx Aug 23 '12 at 9:46
1  
java.sun.com? I think not... –  Michael Borgwardt Aug 23 '12 at 10:30
1  
Except for getting the Java Compiler, would there be any reason to use a JDK instead of a JRE for an end user? –  user1249 Aug 23 '12 at 10:45
    
@MichaelBorgwardt thanks for catching! site corrected to www.java.com –  gnat Aug 23 '12 at 11:19
    
@ThorbjørnRavnAndersen In our case, we only need the jre. –  Jatin Aug 24 '12 at 7:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.