search

Home  >  Q&A  >  body text

windows - Win上一些软件,如Jetbrains家的IDE(java写),某些exe(Python写), 生成exe/msi, 原理是?

描述问题

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

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

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

上下文环境

windows7以上

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

重现

相关代码

报错信息

相关截图

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

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

  1. jetbrains的ide如何打包的

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

问题简化

高洛峰高洛峰2802 days ago834

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:09:26

    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

    reply
    0
  • Cancelreply