顯示具有 Java 標籤的文章。 顯示所有文章
顯示具有 Java 標籤的文章。 顯示所有文章

2014年10月10日 星期五

在 Linux Mint 17 Qiana Cinnamon 32 bit 安裝 Oracle Java 的方法

作業系統 Linux Mint 17 Qiana Cinnamon 32 bit (安裝在硬碟)
按照以下網頁的方法
成功安裝了 Oracle Java 7


Install Oracle Java 8 In Ubuntu Via PPA Repository [JDK8]
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html


Install Oracle Java 7 in Ubuntu via PPA Repository
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html


( 安裝 Oracle Java 8
在 Terminal (終端機)執行以下三行指令:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

安裝 Oracle Java 7
在 Terminal (終端機)執行以下三行指令:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer )


--------------------------------------------------------------------------------------


2014 10 17 補充 :
以下是今天在1台 RAM 4G 的電腦上
使用 Live DVD 安裝 Oracle Java 的過程

作業系統 Linux Mint 17 Qiana Cinnamon 32 bit ( Live DVD )
電腦 RAM 4G

先更新 Mint

sudo apt-get purge openjdk*
( 此步驟為移除系統原先安裝的 openjdk
參考網頁  http://way3sec.blogspot.tw/2012/07/ubuntu-1204-oracle-java-7.html  )

接下來的安裝過程參考以下網頁 :
Oracle (Sun) Java JRE for Ubuntu, Linux Mint and Debian
https://sites.google.com/site/easylinuxtipsproject/java
+
http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux

到官網下載副檔名為 tgz 的檔案
( Firefox 預設下載到 /home/mint/Downloads 目錄中 )

解壓縮下載的檔案
( 在 Files 這個程式的下拉式選單中就有解壓縮的選項 )
( 解壓縮後 /home/mint/Downloads 多出 jre1.8.0_25 這個目錄 )
( 解壓縮後 從官網下載的檔案就可以刪除了 )

接下來在 Terminal ( 終端機 ) 依序執行以下指令
每個指令會間隔 2 行 方便閱讀
有的指令後會有  -->
代表執行後螢幕出現的文字
或相關的事項

指令如下:


sudo mkdir /usr/local/java


sudo mv /home/mint/Downloads/jre1.8.0_25/ /usr/local/java/jre1.8.0_25/


sudo gedit /etc/profile
-->
在檔案最後加上以下文字
JRE_HOME=/usr/local/java/jre1.8.0_25
PATH=$PATH:$JRE_HOME/bin
export JRE_HOME
export PATH
儲存檔案
關閉檔案
關閉 gedit 這個程式


. /etc/profile


sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.8.0_25/bin/java" 1
-->
螢幕出現以下敘述 :
update-alternatives: using /usr/local/java/jre1.8.0_25/bin/java to provide /usr/bin/java (java) in auto mode


sudo update-alternatives --set java /usr/local/java/jre1.8.0_25/bin/java


java -version
-->
螢幕出現以下敘述 :
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) Server VM (build 25.25-b02, mixed mode)


cd /usr/lib/mozilla/plugins


sudo ln -s /usr/local/java/jre1.8.0_25/lib/i386/libnpjp2.so


sudo killall Xorg
-->
執行此指令前
先把其他所有的程式都關閉
只留下Terminal ( 終端機 )
執行此指令後會重新登入


這樣好像就可以用了

2013年7月22日 星期一

New vulnerability in Java

New vulnerability in Java

Source (消息來源) :
New vulnerability in Java 7 opens door to 10-year-old attack, researchers say
Jul 18, 2013 12:20 PM
http://www.pcworld.com/article/2044670/new-vulnerability-found-in-java-7-opens-door-to-10yearold-attack-researchers-say.html
+
Alleged Java flaw raises doubts on Oracle's security stance
July 19, 2013 -- 03:25 GMT (20:25 PDT)
http://www.zdnet.com/alleged-java-flaw-raises-doubts-on-oracles-security-stance-7000018281/

2013年6月22日 星期六

new Java update : Java 7 Update 25 (Java 7u25)

Java 7 Update 25 (Java 7u25)

Source (消息來源) :
PCWorld
Java update patches 40 security issues
http://www.pcworld.com/article/2042403/java-7-update-25-fixes-40-security-issues-turns-on-certificate-revocation-checking.html
+
ZDNet
Oracle releases latest round of Java security patches
http://www.zdnet.com/oracle-releases-latest-round-of-java-security-patches-7000017002/

2013年4月20日 星期六

Java 更新了

Java 更新了

消息來源 :

Oracle :
http://www.oracle.com/technetwork/topics/security/javacpuapr2013-1928497.html

PCWorld :
Java 7 Update 21 to fix bugs, change applet warning messages
http://www.pcworld.com/article/2034738/java-7-update-21-to-fix-bugs-change-applet-warning-messages.html
+
Oracle shipping 128 patches for apps, database and middleware
http://www.pcworld.com/article/2034729/oracle-shipping-128-patches-for-apps-database-and-middleware.html

Cnet :
Oracle preps 128 security patches; Java gets 42
http://news.cnet.com/8301-1009_3-57579845-83/oracle-preps-128-security-patches-
java-gets-42/

ZDNet :
Oracle to release 128 security patches, hundreds of products affected
http://www.zdnet.com/oracle-to-release-128-security-patches-hundreds-of-products-affected-7000014082/

2013年3月17日 星期日

Java 仍有安全漏洞 ( Java 7, Update 17 + Java 6, Update 43 )


根據下面的消息來源
Java 目前的最新版本 Java 7, Update 17 和 Java 6, Update 43
仍然有安全漏洞


消息來源 :

1. PC World

http://www.pcworld.com/article/2030778/researchers-javas-security-problems-unlikely-to-be-resolved-soon.html
Researchers: Java's security problems unlikely to be resolved soon
Lucian Constantin, IDG News Service
Mar 14, 2013 5:05 AM

http://www.pcworld.com/article/2030086/cybercriminals-using-digitally-signed-java-exploits-to-trick-users.html
Cybercriminals using digitally signed Java exploits to trick users
Lucian Constantin, IDG News Service
Mar 5, 2013 12:15 PM

http://www.pcworld.com/article/2030067/five-new-flaws-found-in-the-latest-version-of-java.html
Five new flaws found in the latest version of Java
By Antone Gonsalves, CSO
Mar 5, 2013 7:41 AM

http://www.pcworld.com/article/2030056/oracle-releases-emergency-fix-for-java-zeroday-exploit.html
Oracle releases emergency fix for Java zero-day exploit
Lucian Constantin, IDG News Service
Mar 4, 2013 4:25 PM

http://www.pcworld.com/article/2029987/latest-java-zero-day-exploit-is-linked-to-bit9-hacker-attack.html
Latest Java zero-day exploit is linked to Bit9 hacker attack
Lucian Constantin, IDG News Service
Mar 4, 2013 8:20 AM

http://www.pcworld.com/article/2029741/another-java-flaw-exploited-security-researchers-warn.html
Another Java flaw exploited, security researchers warn
Lucian Constantin, IDG News Service
Mar 1, 2013 6:45 AM

http://www.pcworld.com/article/2028788/oracle-releases-new-java-fixes-speeds-up-patching-cycle.html
Oracle releases new Java fixes, speeds up patching cycle
Lucian Constantin, IDG News Service
Feb 20, 2013 6:22 AM

2. ZDNet

http://www.zdnet.com/oracle-rushes-out-last-minute-patch-for-vulnerabilities-7000012118/
Oracle rushes out last-minute patch for vulnerabilities
By Michael Lee | March 5, 2013 -- 03:33 GMT (19:33 PST)

http://www.zdnet.com/java-zero-day-malware-was-signed-with-certificates-stolen-from-security-vendor-7000012079/
Java zero-day malware 'was signed with certificates stolen from security vendor'
By Liam Tung | March 4, 2013 -- 11:37 GMT (03:37 PST)

http://www.zdnet.com/oracle-investigating-after-two-more-java-7-zero-day-flaws-found-7000011965/
Oracle investigating after two more Java 7 zero-day flaws found
By Zack Whittaker for Zero Day | February 28, 2013 -- 16:36 GMT (08:36 PST)

3. Cnet

http://news.cnet.com/8301-1009_3-57572496-83/oracle-issues-emergency-java-update-to-patch-vulnerabilities/
Oracle issues emergency Java update to patch vulnerabilities
by Dara Kerr
March 4, 2013 7:22 PM PST

http://news.cnet.com/8301-1009_3-57572168-83/more-java-based-malware-plagues-the-cross-platform-runtime/
More Java-based malware plagues the cross-platform runtime
by Topher Kessler
March 1, 2013 3:32 PM PST

4. ITHome

http://www.ithome.com.tw/itadm/article.php?c=79160
兩次更新徒勞無功,Java再爆嚴重漏洞
文/楊智傑 2013-03-10

http://www.ithome.com.tw/itadm/article.php?c=79091
甲骨文緊急修補上周發現的Java漏洞
文/陳曉莉 (編譯) 2013-03-05



2012年10月7日 星期日

Java 有安全漏洞 ( 5,6,7 都有 )

消息來源 :
-->
http://news.cnet.com/8301-1009_3-57520532-83/new-java-flaw-could-hit-1-billion-users/
http://www.pcworld.com/article/2010607/windows-pcs-and-macs-at-risk-of-another-zero-day-java-bug.html
http://blogs.computerworld.com/malware-and-vulnerabilities/21056/another-critical-java-vulnerability-puts-1-billion-users-risk
http://seclists.org/fulldisclosure/2012/Sep/170
http://www.security-explorations.com/en/SE-2012-01-status.html

資安專家又發現 Java 有安全漏洞了
Java  5 , 6 , 7 都有
目前 Oracle 還沒有修正此漏洞