首先,我使用多臺計算機,有時,我只使用某些計算機一次,以后再也不使用了。這是我無法解決的問題。在這種情況下,我不能繼續下載 Eclipse IDE 以在每臺計算機上作業,然后就離開它。
我嘗試在隨身碟上安裝 Eclipse,然后將其用于多臺計算機,但沒有成功。像往常一樣,eclipse.ini 是罪魁禍首。它包含來自我第一次下載 Eclipse 的計算機的路徑,這就是它在其他計算機上不起作用的原因。此錯誤訊息出現在其他計算機中:The eclipse executable launcher was unable to locate its companion shared library.
有什么方法可以使 Eclipse 完全本地化到外部硬碟驅動器或 Pendrive 以在多臺 PC 上使用???
這是我的 eclipse.ini 檔案:
startup
plugins/org.eclipse.equinox.launcher_1.6.300.v20210813-1054.jar
--launcher.library
C:/Users/pedne/.p2/pool/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.300.v20210828-0802
-product
org.eclipse.epp.package.java.product
-showsplash
C:\Users\pedne\.p2\pool\plugins\org.eclipse.epp.package.common_4.21.0.20210910-1200
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/Users/pedne/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.0.v20211012-1059/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=11
[email protected]/eclipse-workspace
-Dsun.java.command=Eclipse
-XX: UseG1GC
-XX: UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
--add-opens=java.base/java.lang=ALL-UNNAMED
唯一的本地參考位于 C:\ 驅動器中的第 4,8 和 13 行。手動更改每臺計算機的路徑是不可能的,因為我可能是第一次在多臺計算機上使用 eclipse。
任何幫助、其他答案的鏈接或適度將不勝感激。謝謝!!!
uj5u.com熱心網友回復:
.p2 目錄是 Eclipse 安裝的 Oomph 安裝程式樣式使用的位置。
使用來自https://www.eclipse.org/downloads/packages/的包樣式安裝將把所有東西都放在 Eclipse 目錄中。
請注意,這仍然特定于特定的作業系統。您不能對所有作業系統進行一次安裝。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/363284.html
上一篇:如何在陣列中查找重復項
