English 中文(简体)
java - 建立记忆过程
原标题:java - create Process from memory

假设无磁场的情况,我(在 Java)如何能够从一流的未齐全(以及各自的支助档案)中产生一个过程?

I ve see out to unzip to memory herehere 但却无法找到一种办法,从无指挥系统(档案系统)的星号或投射器制造一个过程。

www.un.org/spanish/ecosoc “的想法是,在 Java申请/项目中排除第3个政党部分,而不允许其单独使用,从而将其归入受保护的Zip的密码。 在我的方案执行期间,它将不忘记忆(Exe + 支助档案),并为后者撰写稿,如:

Process process = ?
OutputStream output = process.getOutputStream();
...
output.write("my commmand to 3rd party component");

任何方面?

提前感谢,

最佳回答

视窗要求程序的形象在监督厅所看到的档案系统中。 这意味着,你需要一个没有包装的“残疾”系统(确切地说,是一个全系统可见的档案系统,由车轮驾驶员揭露)。

We offer several products which can be used to create a virtual file system suitable for launching EXEs from it, but in all these products installation of the kernel-mode driver is required. This is just how Windows was designed to work.

因此,不幸的是,仅靠一流来管理本土EXE(PE格式)的工作就赢得了t工作。 NET组件可以装上/从记忆中, Java门也可以用 Java的操作时间从任何地方装上,但对于本土过程来说,情况并非如此。

问题回答

我可以看到几种可能的做法:

  1. Unzip into an in-memory filesystem.
  2. Write a custom class loader that would load the classes directly from the ZIP file.

其中,首先可能需要的工作减少。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签