Suggestion: Keeping Oracle (Sun) Java

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
No support questions here please.
Do not post ideas for application developers. Please use GitHub for Cinnamon and Nemo ideas.

Suggestion: Keeping Oracle (Sun) Java

Postby Dry Lips on Tue Oct 25, 2011 4:11 pm

What will happen with the java-plugin that comes with Mint when Lisa is launched?

“Oracle (Sun) Java Runtime Environment (JRE) has been removed from the official software
repositories of Ubuntu. In Ubuntu 11.10, it has even disappeared from the Partner repository.

http://sites.google.com/site/easylinuxt ... from-all-r

In my experience OpenJDK/IcedTea simply doesn't work with the secure java login which is used in
the most common ebank solution in my country, so I really hope that you will include Oracle Java in Lisa,
even though it has disappeared from the official repos.

Sorry if this is more of a plea than a suggestion! :)
User avatar
Dry Lips
Level 2
Level 2
 
Posts: 76
Joined: Sun Oct 02, 2011 11:22 am

Linux Mint is funded by ads and donations.
 

Re: Suggestion: Keeping Oracle (Sun) Java

Postby xenopeek on Tue Oct 25, 2011 4:22 pm

First, I'm assuming you want to install Oracle Java version 6. As for Oracle Java version 7, this announcement from Oracle is relevant: http://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the. Basically, Oracle has made OpenJDK the reference implementation for Java version 7. So, though indeed there are compatibility issues on version 6 between Oracle Java and OpenJDK, this should be a lot less with version 7 as OpenJDK is now the official reference implementation for all implementers of Java 7.

As for Oracle Java 6, you will be able to easily install that on Linux Mint 12 (or Ubuntu 11.10) with the following three commands:
Code: Select all
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

I hope that is one worry less for you :wink:
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14995
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Suggestion: Keeping Oracle (Sun) Java

Postby Dry Lips on Tue Oct 25, 2011 6:25 pm

Thanks a lot! I was looking for a repo with the old sun-java! :)

So... Will Lisa have OpenJDK7 included then, or are they going to stick with sun-java6?
User avatar
Dry Lips
Level 2
Level 2
 
Posts: 76
Joined: Sun Oct 02, 2011 11:22 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby xenopeek on Wed Oct 26, 2011 2:55 am

Well, I'm not sure. But as Ubuntu 11.10 has moved to OpenJDK I'm assuming Linux Mint 12 will follow.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14995
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Suggestion: Keeping Oracle (Sun) Java

Postby wei2912 on Fri Oct 28, 2011 4:49 am

Hopefully it is included, Sun/Oracle java works with more programs.
wei2912
Level 2
Level 2
 
Posts: 79
Joined: Thu Jun 02, 2011 1:00 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby proxima_centauri on Fri Oct 28, 2011 8:29 am

For what it's worth, sun-java6 is available in the Linux Mint 12 Lisa repository
http://packages.linuxmint.com/list.php? ... a#upstream
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Suggestion: Keeping Oracle (Sun) Java

Postby wei2912 on Sun Oct 30, 2011 6:02 am

proxima_centauri wrote:For what it's worth, sun-java6 is available in the Linux Mint 12 Lisa repository
http://packages.linuxmint.com/list.php? ... a#upstream


Thanks! Will be adding this PPA after RC is released.

Edit: This might be off-topic, but is it safe to add this PPA before the RC is released?
wei2912
Level 2
Level 2
 
Posts: 79
Joined: Thu Jun 02, 2011 1:00 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby proxima_centauri on Sun Oct 30, 2011 6:22 am

It's not a PPA, it's the official Linux Mint repo for Linux Mint 12.

No, it's not safe to add it, and it is designed with GNOME3 in mind.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Suggestion: Keeping Oracle (Sun) Java

Postby wei2912 on Sun Oct 30, 2011 7:02 am

proxima_centauri wrote:It's not a PPA, it's the official Linux Mint repo for Linux Mint 12.

No, it's not safe to add it, and it is designed with GNOME3 in mind.


Sorry, got too used to Launchpad PPAs. Thanks for the information.
wei2912
Level 2
Level 2
 
Posts: 79
Joined: Thu Jun 02, 2011 1:00 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby wei2912 on Wed Dec 14, 2011 9:15 am

This needs to be addressed, since JDK & JRE 7 was released, but i could only find openjdk-7 instead of sunjdk-7 in Synaptic Package Manager. Newbies who want the latest JRE/JDK have to enter the terminal and type a lot of commands just to do that. Worse thing, they have to use root, thus they may damage their system badly.
wei2912
Level 2
Level 2
 
Posts: 79
Joined: Thu Jun 02, 2011 1:00 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby proxima_centauri on Wed Dec 14, 2011 9:28 am

As far as I know, it's a licensing issue - distributions may no longer package java jre/jdk.
You have to use sun-java6 or openjdk7. Otherwise you can manually install the newest oracle version of java from their website.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Suggestion: Keeping Oracle (Sun) Java

Postby craig10x on Wed Dec 14, 2011 1:21 pm

Suprisingly...Oracle provides an rpm install package for both Oracle Java 6 AND Java 7 but does NOT provide an install package for deb....being that debian based distros are more common then red hat based distros, you would think they would...i e-mailed them about it but received no response...

I hope Clem will package the Oracle java 7 into future editions of mint (like when version 7 eventually replaces 6 and so forth) because ubuntu itself no longer provides it and it is very true that even Open Java 7 does not work on all programs (even though Oracle claims that Open Java 7 and Oracle Java 7 are supposedly compatable) apparently they still are not... :roll:

I know because i have a program that works great on the licensed version but does NOT work at all on either Open 6 OR Open 7....
The least Oracle should do is provide a simply deb install package for it...manually installing it is a pain in the rear and could potentially mess up your terminal if you don't install it correctly...
craig10x
Level 7
Level 7
 
Posts: 1502
Joined: Fri Jul 03, 2009 12:44 pm

Re: Suggestion: Keeping Oracle (Sun) Java

Postby wei2912 on Thu Dec 15, 2011 11:49 pm

craig10x wrote:Suprisingly...Oracle provides an rpm install package for both Oracle Java 6 AND Java 7 but does NOT provide an install package for deb....being that debian based distros are more common then red hat based distros, you would think they would...i e-mailed them about it but received no response...

I hope Clem will package the Oracle java 7 into future editions of mint (like when version 7 eventually replaces 6 and so forth) because ubuntu itself no longer provides it and it is very true that even Open Java 7 does not work on all programs (even though Oracle claims that Open Java 7 and Oracle Java 7 are supposedly compatable) apparently they still are not... :roll:

I know because i have a program that works great on the licensed version but does NOT work at all on either Open 6 OR Open 7....
The least Oracle should do is provide a simply deb install package for it...manually installing it is a pain in the rear and could potentially mess up your terminal if you don't install it correctly...


Agreed.
wei2912
Level 2
Level 2
 
Posts: 79
Joined: Thu Jun 02, 2011 1:00 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby Dry Lips on Thu Feb 09, 2012 4:14 pm

How can Mint have Java included in the installation, when you keep in mind that Oracle Java was removed from the Ubuntu repos... Since it's a question of licensing I wonder how they get away with this?
User avatar
Dry Lips
Level 2
Level 2
 
Posts: 76
Joined: Sun Oct 02, 2011 11:22 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby craig10x on Thu Feb 09, 2012 5:30 pm

probably because linux mint is based in ireland...so not subjected to those licensing restrictions...that is why mint offers two versions of their isos...with codecs and without...for legal distribution in the US and Japan that have those restrictions...of course, nothing prevents one (in US and Japan) from using the codec iso even though in those countries, technically it is not quite legal (lol)... :wink:

just like nothing prevents one from downloading dvd files from newsgroups, right? :lol:

i can't figure why ubuntu itself is not using the license versions since the open source versions of java runtime can be incompatible with many online java applications...i have noticed this even with the open source java 7 which supposedly is 100% compatible with the Oracle version...not so :roll:

if ubuntu really plans on going mainstream (which they seem to be planning on doing) this is not going to work well for them at all...

Not sure what Clem's plans are for future editions of mint regarding the java runtime issue...
craig10x
Level 7
Level 7
 
Posts: 1502
Joined: Fri Jul 03, 2009 12:44 pm

Re: Suggestion: Keeping Oracle (Sun) Java

Postby Dry Lips on Thu Feb 09, 2012 6:59 pm

craig10x wrote:i can't figure why ubuntu itself is not using the license versions since the open source versions of java runtime can be incompatible with many online java applications...i have noticed this even with the open source java 7 which supposedly is 100% compatible with the Oracle version...not so :roll:


Yeah, I OpenJDK doesn't work at all for my net banking. Having windows around just to pay my bills is uncool...
User avatar
Dry Lips
Level 2
Level 2
 
Posts: 76
Joined: Sun Oct 02, 2011 11:22 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby Dry Lips on Thu Feb 16, 2012 12:01 pm

Question:

Is sun java actually in the mint repos, or is it just included in the installation as a static package? In other words, will you receive upgrades if new versions of java 6 are released?
User avatar
Dry Lips
Level 2
Level 2
 
Posts: 76
Joined: Sun Oct 02, 2011 11:22 am

Re: Suggestion: Keeping Oracle (Sun) Java

Postby anitaconway on Thu Mar 22, 2012 11:56 am

Vincent Vermeulen wrote:First, I'm assuming you want to install Oracle Java version 6. As for Oracle Java version 7, this announcement from Oracle is relevant: http://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the. Basically, Oracle has made OpenJDK the reference implementation for Java version 7. So, though indeed there are compatibility issues on version 6 between Oracle Java and OpenJDK, this should be a lot less with version 7 as OpenJDK is now the official reference implementation for all implementers of Java 7.

As for Oracle Java 6, you will be able to easily install that on Linux Mint 12 (or Ubuntu 11.10) with the following three commands:
Code: Select all
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

I hope that is one worry less for you :wink:


FINALLY!!!! something that actually worked to fix my problem :) I've been looking for three days and this is what fixed it. Thanks for posting.
anitaconway
Level 1
Level 1
 
Posts: 1
Joined: Wed Jan 25, 2012 3:12 pm

Re: Suggestion: Keeping Oracle (Sun) Java

Postby craig10x on Thu Mar 22, 2012 12:44 pm

This one is even better (was posted in another mint forums thread) it is a deb file compiled for the licensed Oracle Java (which took over for sun)....
it will always install the latest version of the licensed java run time...
viewtopic.php?f=42&t=93052

I used it on my ubuntu 11.10 install...works perfect!!! :D
craig10x
Level 7
Level 7
 
Posts: 1502
Joined: Fri Jul 03, 2009 12:44 pm

Linux Mint is funded by ads and donations.
 

Return to Suggestions & New Ideas

Who is online

Users browsing this forum: No registered users and 3 guests