我们可以在没有JRE的系统中运行Java应用程序吗? [英] Can we run an Java app in a system without JRE?

查看:398
本文介绍了我们可以在没有JRE的系统中运行Java应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个java apllication。我为我的应用程序创建了Excecutable jar和Exe文件。但它不能在没有安装计算机的系统上运行。怎么做?是否有可能在EXEcutable jar或Exe文件本身中配置JRE?任何想法?

I created an java apllication. i created the Excecutable jar and Exe files for my application. But it cant be run at a system which not installed computer. How to do it? Is there any possible to configure the JRE in the EXEcutable jar or Exe file itself? Any Idea?

推荐答案

我认为这是项目:launch4j 可能对您有用。它可以将jar包装在可执行文件中并捆绑JRE,使其行为类似于本机应用程序。

I think this project : launch4j might be useful to you. It can wrap the jar in an executable and bundle a JRE in making it behave like a native application.

这篇关于我们可以在没有JRE的系统中运行Java应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆