如何使用oracle创建Java可执行文件? [英] how to create a executable file of java with oracle?

查看:182
本文介绍了如何使用oracle创建Java可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Java前端创建了一个项目,在后端创建了oracle,但是项目完成了.但是我不知道如何在任何其他系统上创建可执行文件,这样就可以在不安装任何Java的情况下启动它.或oracle软件
请给予支持.迫切需要
问候

I have created one project in java front end and oracle as back end ,project is completed .But I don''t know how to create a executable file on any another system so that it can be started without any installation of java or oracle software
pls give your support.Its in urgency
regards

推荐答案

通常来说,您无法从Java程序创建可执行文件. Java会编译为在Java虚拟机中运行的字节码,因此,要运行程序的任何计算机都将至少需要最新的JVM和运行时.我不确定Oracle,但我想您只需要确保也安装了支持Oracle的Java库即可.
Generally speaking you cannot create executable files from Java programs. Java compiles into bytecode which runs within the Java Virtual Machine, and thus any machine that is to run your program will need the latest JVM and runtime as minimum. I''m not sure about Oracle but I guess you just need to ensure the Java library that supports it is also installed.


使用您的IDE即可.
Eclipse:在资源管理器上下文菜单中有一个链接导出".跟随向导.
Netbeans:在资源管理器上下文菜单中有一个链接"Build". Build转到"project/dist".
Use your IDE to do that.
Eclipse: You have a link "Export" in the Explorer Context Menu. Follow the wizard.
Netbeans: You have a link "Build" in the Explorer Context Menu. The Build goes to "project/dist".


这篇关于如何使用oracle创建Java可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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