LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2010, 08:21 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Is java free for use for business purpose?


Hello,everyone!

I learned Java(SE,EE) few years ago and didn't use it because we are using PHP and ASP.NET at work.However, I would like to ask a question: Is Java (SE,EE) free for use for business purpose?I mean,if I start up a company and use tomcat with java, do I have to pay for the license to use Java?

I don't know much about java license until I learned that ASF(Apache Software Foundation) quited from the Java Community recently.As a result,they recalled my attention regarding the legitimacy of using java in business purpose for free.

Thanks for answering my dumb question!

Last edited by Swift&Smart; 12-28-2010 at 08:26 AM.
 
Old 12-28-2010, 10:34 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Quote:
On November 13, 2006, Sun released much of Java as open source software under the terms of the GNU General Public License (GPL). On May 8, 2007, Sun finished the process, making all of Java's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.[17]
http://en.wikipedia.org/wiki/Java_pr...nguage#History
 
Old 12-28-2010, 10:43 AM   #3
redhatstand
Member
 
Registered: Jul 2006
Location: Oxford, UK
Distribution: CentOS, Ubuntu
Posts: 37

Rep: Reputation: 7
Hi there,

I was intrigued by the changes you mentioned so had a look at Oracle's latest Java SE license pages.

IMHO and 'I am not a lawyer': I would check out the 'Java SE for business' offering which has appeared on their site.

Personally I would factor the cost of this paid offering into your SWOT/risk analysis when considering a new Java project - just sound business practice.

Hope that's useful.

Andy T
 
Old 12-28-2010, 10:59 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I didn't see a direct answer to your question, so:

1. No, there are no restrictions on any program you write in Java.

2. Yes, the Java runtime ("JRE") is freely available to anybody who wishes to use your program.
Additionally, you may distribute the JRE together with your program:

3. Here is the explicit wording:

http://java.sun.com/j2se/1.5.0/jre/README

http://www.oracle.com/technetwork/ja...nse-159167.txt
 
Old 12-28-2010, 11:16 AM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
There is also a Java implementation coming with GCC, and several years ago it received some important certifications making it a kosher Java - if I understood it correctly. I vaguely remember the details - probably it was related to Java class library.

I am not a Java guy, I think more answers can be found on RedHat site.
...
Also, there is an IBM Java.
 
Old 12-28-2010, 06:36 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, Sergei -

I'm a huge fan of Gnu ... but, unfortunately, I cannot recommend Gnu Java. The whole point of Java is supposed to be "compatibility" ... and GJC isn't.

OpenJava is a good alternative, but I strongly recommend Sun Java if at all possible.

Oh yes, IBM's "Blackdown" version of Java is required if you're on an IBM platform (such as AIX).

'Hope that helps!
 
Old 12-28-2010, 06:50 PM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by paulsm4 View Post
Hi, Sergei -

I'm a huge fan of Gnu ... but, unfortunately, I cannot recommend Gnu Java. The whole point of Java is supposed to be "compatibility" ... and GJC isn't.

OpenJava is a good alternative, but I strongly recommend Sun Java if at all possible.

Oh yes, IBM's "Blackdown" version of Java is required if you're on an IBM platform (such as AIX).

'Hope that helps!
Again, my point is that for a Java stack to be considered kosher it should undergo certain certification process. And I know that for many years GNU Java wasn't certified, but then it passed final needed certifications (IIRC).

But, AFAIR, unlike with "C", there is no ANSI Java standard, so that's probably the root cause of incompatibilities, i.e. Sun's Java is considered to be kosher by definition. And even this is self-contradictory - IIRC, transition from Java 1.5 to 1.6 wasn't that smooth.

Again, I am not a Java guy, all these statements of mine should be throughly verified.
...
Don't know how relevant it is: http://www.redhat.com/rhel/server/details/ :

Quote:
Java
OpenJDK 6 is an open source implementation of the Java Platform Standard Edition (SE) 6 specification. It is TCK-certified based on the IcedTea project, and the implementation of a Java Web Browser plugin and Java web start removes the need for proprietary plugins.
->

http://en.wikipedia.org/wiki/IcedTea :

Quote:
IcedTea is a software development and integration project launched by Red Hat in June 2007.[1] The initial goal was to make the Java OpenJDK software which Sun Microsystems released as free software in 2007 usable without requiring any other software that is not free software and hence make it possible to add OpenJDK to Fedora and other Linux distributions that insist on free software. This was met and a version of IcedTea based on OpenJDK was packaged with Fedora 8 in November 2007.
April 2008 saw the first release[2] of a new variant, IcedTea6 which is based on Sun's build drops of OpenJDK6, a fork of the OpenJDK with the goal of being compatible with the existing JDK6. This was released in Ubuntu and Fedora in May 2008. The IcedTea package in these distributions has been renamed to OpenJDK using the OpenJDK trademark notice. In June 2008, the Fedora build passed Sun's rigorous TCK testing[3] on x86 and x86-64.

Last edited by Sergei Steshenko; 12-28-2010 at 06:59 PM.
 
Old 12-28-2010, 09:49 PM   #8
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Thanks for the active responses from you guys.

On November 13, 2006, Sun released much of Java as open source software under the terms of the GNU General Public License (GPL). On May 8, 2007, Sun finished the process, making all of Java's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.[17]
http://en.wikipedia.org/wiki/Java_pr...nguage#History


So,smoker,is that mean Java is free for use in business sector also?It seems to me that I cannot find a consensus answer here.I think that I'm not the only one who worries about the license problem here. If,we cannot use java for free in business,it just turns my world upside down.There aren't much choices left.
 
Old 12-28-2010, 10:15 PM   #9
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

You're mixing apples and oranges here.

"Java" is a language you write programs in. It also entails a "runtime" (the JRE) you need in order for your program to execute on any given platform. There are technical issues (like source- and binary compatibility), and legal issues (namely, the license).

As I said above (citing the actual licenses from the Sun Java web site), if you write your programs using the SunJava or OpenJava compilers, and rely on the SunJava or OpenJava JREs, you're home free. No worries. You are licensed to use the compiler as you wish; you're licensed to redistribute the JRE for your compiled bytecode as you wish.

IcedTea is a separate issue: you, as a developer, or as an ISV, aren't directly affected one way or the other.

GPL'ing Java source matters very much to the IcedTea folks. But it necessarily doesn't matter to you, unless you want to modify the compiler (or build your own compiler).

It also matters to those who are worried about the long term future of the Java standard (which Sun had managed themselves, much as ANSI manages the C and C++ standards).

But again: if you (as a developer or an ISV) use Sun Java (just about anywhere) or OpenJava (e.g. on Linux), you're safe.

'Hope that helps!

Last edited by paulsm4; 12-28-2010 at 10:22 PM.
 
Old 12-28-2010, 10:49 PM   #10
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
paulsm4,Thanks for your reply.

You clear my worries about developing application in Java and using java related technology.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Business Of Free LXer Syndicated Linux News 0 07-16-2009 12:20 PM
LXer: The new business of free radio LXer Syndicated Linux News 0 07-24-2008 03:00 PM
Purpose of JAVA JMJ_coder Programming 4 09-28-2007 06:15 AM
Is Linux Free For Business use??? melkouery Linux - Distributions 2 11-26-2006 08:33 AM
purpose of Java Console in Firefox? microsoft/linux General 1 10-04-2005 07:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration