Difference between revisions of "Java"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== Configuring Software - java == | == Configuring Software - java == | ||
| − | Sadly, at some point you are going to have to use the slow, memory hungry cross-platform debacle known as java. Before you begin, you'll need to modify ''/etc/portage/package.license''. You may also want to disable the '''doc''' USE flag in ''/etc/portage/package.use'' since it will ask you to visit sun's website and jump through a number of hoops before you can perform the emerge. | + | Sadly, at some point you are going to have to use the slow, memory hungry cross-platform debacle known as java. The default java environment is the icedtea flavor, which I have found to be less than compatible with the java applications I use (Cisco, Supermicro IPMI, and so on). So the oracle JDK is your best bet. |
| + | '''$''' sudo emerge -av oracle-jdk-bin | ||
| + | You will need to merge some changes to ''/etc/portage/package.license'', then fetch the latest .tar.gz file from the Oracle site (portage will provide a link for you). Once that's done, copy the file to /usr/portage/distfiles and try the emerge again. | ||
| + | |||
| + | <!-- | ||
| + | Before you begin, you'll need to modify ''/etc/portage/package.license''. You may also want to disable the '''doc''' USE flag in ''/etc/portage/package.use'' since it will ask you to visit sun's website and jump through a number of hoops before you can perform the emerge. | ||
'''$''' sudo nano -w /etc/portage/package.license | '''$''' sudo nano -w /etc/portage/package.license | ||
Add the following directive: | Add the following directive: | ||
| Line 7: | Line 12: | ||
Once ready, begin the emerge. | Once ready, begin the emerge. | ||
'''$''' sudo emerge -av sun-jdk | '''$''' sudo emerge -av sun-jdk | ||
| + | --> | ||
| + | |||
You should now have a working java framework. | You should now have a working java framework. | ||
Latest revision as of 18:07, 25 November 2016
Configuring Software - java
Sadly, at some point you are going to have to use the slow, memory hungry cross-platform debacle known as java. The default java environment is the icedtea flavor, which I have found to be less than compatible with the java applications I use (Cisco, Supermicro IPMI, and so on). So the oracle JDK is your best bet.
$ sudo emerge -av oracle-jdk-bin
You will need to merge some changes to /etc/portage/package.license, then fetch the latest .tar.gz file from the Oracle site (portage will provide a link for you). Once that's done, copy the file to /usr/portage/distfiles and try the emerge again.
You should now have a working java framework.