我看到eclipse在我的用户主文件夹中创建了一些文件夹,例如.eclipse .p2等等...我想更改这个默认文件夹(我想要保存所有一个D:位置)。 我读了这个Change .eclipse folder in Linux,但我不明白哪个文件.ini我必须改变,如果我之前在安装eclipse后执行此操作。此外,我有Windows 10而不是Linux。 对不起,我的英文。我希望在你的帮助下。更改eclipse创建.eclipse,.p2和其他文件夹的位置
这是我的eclipse.ini
-data
D:/Programmi/Eclipse
-configuration
D:/Programmi/Eclipse/eclipse `
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.550.v20170928-1359
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-D"user.home=D:/Programmi/Eclipse/home"
-Dosgi.requiredJavaVersion=1.8
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
安装Eclipse和运行之前,编辑'eclipse.ini' 。我建议设置['-data'和'-configuration'](https://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html) (在'eclipse.ini'的开头增加4行:第一行:'-data',第二行:工作空间目录,第三行:'-configuration',第四行:配置目录;默认情况下'.p2'目录将在配置目录的父目录中创建)。 – howlger
当运行eclipse时,我又有三个文件夹.eclipse .p2 .tooling。 – Chuck94
您是使用Eclipse Installer还是解压缩包?文件夹的位置在哪里,你期望他们在哪里? – howlger