windows - Win上一些软件,如Jetbrains家的IDE(java写),某些exe(Python写), 生成exe/msi, 原理是?
高洛峰
高洛峰 2017-04-18 09:07:26
0
1
779

描述问题

由于标题字数限制,故现标题看起来怪怪的

既然是有虚拟机的软件,那么虚拟机应该也打包在一起了吧?
但是貌似也看不到VM的痕迹(比如jetbrains的ide看不到后台java进程)

我对此只有模糊的概念,只知道这是一个类似容器的东西.
那么,具体的原理是?

上下文环境

windows7以上

某些exe程序(使用带VM的语言写成),典型如JetBrains家的IDE

重现

相关代码

报错信息

相关截图

已经尝试哪些方法仍然没有解决(附上相关链接)

主要不知道组织Google的关键词
尝试了几个关键词, 未果

  1. jetbrains的ide如何打包的

  2. python如何生成Windows平台的exe

问题简化

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
洪涛

1) The so-called packaging is to package the java environment and java code into the Windows PE format. There is nothing mysterious about this. There is also that kind of PE editor. You can even modify the icon interface of a software without code. . What Idea does is to develop or find such a tool to do this. Considering its compiler development capabilities, there is reason to believe that their packaging software and code obfuscation software may have been developed independently by them.

This is already a packaged JRE (Java Runtime environment). You can see it more clearly under Linux. It is directly a java environment started by bash.


This is a Java runtime parameter.
The jar package used

Click Pycharm’s help->about information

I don’t know the specific technology used for Idea’s packaging. After all, his family is very familiar with the Java environment, or they don’t know how to invent kotlin themselves. It may be self-developed packaging technology + code obfuscation technology (after all, they also make genuine software) To be sold for money).

2) Just use cxFreeze, it’s really easy to use

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!