解決在/etc/profile檔案中添加Java環境變數後執行報unexpectedtoken的錯誤

來源:互聯網
上載者:User

錯誤描述:

在/etc/profile檔案結尾設定了Java的環境變數儲存後執行“source /etc/profile”或重登入後報如下錯誤:


使用“env”命令查看系統內容變數發現沒有設定成功。

原因分析:<喎?http://www.bkjia.com/kf/ware/vc/" target="_blank" class="keylink">vc3Ryb25nPjwvcD4KPHA+0vLOqsq508PBy0ZsYXNoRlhQyO28/tTaV2luZG93c8+1zbPPwrTyv6rQ3rjEtcQvZXRjL3Byb2ZpbGXOxLz+tbzWws7EvP61xM+1zbMmIzI2Njg0O8q9t6LJ+rHku6+ho0Rvc7rNV2luZG93c7LJ08O72LO1JiM0Mzu7u9DQQ1IvTEax7cq+z8LSu9DQLLb4VU5JWC9MaW51eLLJ08O7u9DQt/tMRrHtyr7PwtK70NCjrMa7ufu7+ihNQUMKIE9Tz7XNsynU8rLJ08O72LO1t/tDUrHtyr7PwtK70NCho0NS08O3+7rFobBccqGxse3Kviwgyq69+NbGQVNDSUm0+sLryscxMywgyq7B+b341sa0+sLrzqoweDBEo7tMRsq508OhsFxuobG3+7rFse3KviwgQVNDSUm0+sLryscxMCwgyq7B+dbGzqoweDBBoaPL+dLUV2luZG93c8a9zKjJz7u70NDU2s7Esb7OxLz+1tDKx8q508MKIDBkIDBhIMG9uPbX1r3ase3KviwgtvhVTklYus3Gu7n7xr3MqMnPu7vQ0NTyysfKudPDMGG78jBk0ru49tfWvdqx7cq+oaPSu7DjstnX98+1zbPJz7XE1MvQ0L/iu+HX1Lavvva2qM7Esb7OxLz+tcS7u9DQJiMyNjY4NDvKvaGjyOfSu7j2s8zQ8tTaV2luZG93c8nP1MvQ0L7NyfqzyUNSL0xGu7vQ0CYjMjY2ODQ7yr21xM7Esb7OxLz+o6y2+NTaTGludXjJz9TL0NC+zcn6s8lMRiYjMjY2ODQ7yr27u9DQtcTOxLG+zsS8/qGj1NrSu7j2xr3MqMnPyrnTw8Ht0rvW1ru70NC3+7XEzsS8/s7EvP6/ycTcu+G0+MC00uLP67K7tb21xM7KzOIsIMzYsfDKx9TaseC8rbPM0PK0+sLryrGho9PQyrG68rT6wuvU2rHgvK3G99bQz9TKvtX9s6MsCiC1q9TaseC8rcqxyLS74dLyzqq7u9DQt/vOyszitviz9rTtoaPJz8r2tO3O877NysfS8s6qyrnTw8HLV2luZG93c8+1zbPPwrXEvMfKwrG+tPK/qtDeuMRwcm9maWxlzsS8/rW81sK7u9DQt/uxu9equ7uzycHLQ1IvTEajrLb41NpMaW51eM+1zbPPwta00NDKsb7Nu+HS8s6qyrax8LK7s/a72LO1t/tDUrb4sah1bmV4cGVjdGVkCiB0b2tlbrTtzvOhozwvcD4KPHA+veK+9re9sLijujwvcD4KPHA+ztLDx7/J0tTKudPDTm90ZXBhZCYjNDM7JiM0MzvV4rj2zsSxvrHgvK3G98C0vfjQ0LK7zayy2df3z7XNs87Esb4mIzI2Njg0O8q9tcTXqru7oaPKudPDTm90ZXBhZCYjNDM7JiM0Mzu08r+qcHJvZmlsZc7EvP6689Tassu1pcC41tDRodTxobCx4LytobEtJmd0O6GwtbWwuCYjMjY2ODQ7yr3Xqru7obEtJmd0O6Gw16q7u86qVU5JWCYjMjY2ODQ7yr2hsbGjtOa689Tyu+G9q1dpbmRvd3O1xLu70NC3+0NSL0xG16q7u86qTGludXi1xExGo6y0y8qx1NnU2kxpbnV4z7XNs8/C1rTQ0KGwc291cmNlCiAvZXRjL3Byb2ZpbGWhsbHjsru74dTZsajJz8r2tcS07c7zo6y7t76zseTBv9KyvavJ6NbDs8m5pqGjPC9wPgo8cD48aW1nIHNyYz0="http://www.2cto.com/uploadfile/Collfiles/20140319/2014031909141110.jpg" alt="">

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.