简体   繁体   English

PyCharm和RubyMine,JRE文件夹有问题吗?

[英]Issue with PyCharm and RubyMine, JRE folder?

The PyCharm and RubyMine IDE's comes with a folder named JRE in the root installation dir, the JRE folder increments the size of the installation around 150 MB, well, I supposse that this folder just contains exactlly the same java runtime environment that an official JRE installer downloaded from Java.com installs, so my question is: PyCharmRubyMine IDE在根安装目录中带有一个名为JRE的文件夹,该JRE文件夹将安装大小增加了约150 MB,我想,该文件夹仅包含与官方JRE安装程序完全相同的Java运行时环境 。从Java.com下载的安装,所以我的问题是:

If I've previouslly installed JRE from Java site I can delete forever the JRE folder from PyCharm and/or RubyMine installation directories to reduce the total size? 如果我以前从Java站点安装过JRE ,则可以从PyCharm和/或RubyMine安装目录中永久删除JRE文件夹,以减小总大小?

I've tried to delete the JRE folder from PyCharm and RubyMine root directories to test whether the IDE's really depends from that folder and seems that both IDE's works as normally with the JRE folder deleted, but I need to be sure that is safe or not to delete the JRE folder from Pychar/RubyMine directories if I currentlly have JRE installed. 我试图从PyCharmRubyMine根目录中删除JRE文件夹,以测试IDE是否确实依赖于该文件夹,并且似乎两个IDE都可以正常工作,但删除的JRE文件夹却可以正常使用,但是我需要确保它的安全与否。要删除的JRE ,如果我currentlly从Pychar / RubyMine的目录文件夹JRE安装。

IDE comes with it's own version of JRE on Windows. IDE带有Windows上自己的JRE版本。

You can easily configure your environment to use your system wide or any custom JRE (and then delete bundled one if so desired). 您可以轻松地将环境配置为使用系统范围的或任何自定义JRE(然后根据需要删除捆绑的JRE)。 Just check .bat file in INSTALL_FOLDER\\bin folder and see what environment variables and in what order it uses when searching for JRE. 只需检查INSTALL_FOLDER\\bin文件夹中的.bat文件,并查看什么环境变量以及搜索JRE时使用的顺序。

By overriding one of them (IDE-specific one has priority) you can point to a desired JRE installation. 通过覆盖其中之一(特定于IDE的优先级),您可以指向所需的JRE安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM