English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

basically what im asking is... is there a way to convert an application (exe) into a java file? that can be used on the internet... like to connect someone to a server?

2007-05-16 16:20:37 · 5 answers · asked by Ptudia 2 in Computers & Internet Programming & Design

5 answers

No. Programs are not converted, they are migrated. Migration requires knowing both the source language of the original application and the destination language (in this case Java), and rewriting the former in the latter.

Java is a very specific development platform, and Java applications are compiled to run on the Java Runtime, not as standalone programs. An exe is an executable program that might or might not have platform dependencies (like Java or .NET) built into it, but either way will not run in a browser environment because of the obvious security issues. If you need a Java applet that performs certain functionality, you either need to write it or buy one already made.

2007-05-16 16:23:54 · answer #1 · answered by Rex M 6 · 1 1

You can convert an EXE application to a JAR-based Java application but NOT directly. You have to do a workaround. It will be via an Active-X wrapper object and you have to use Java-COM libraries such as JIntegra or JACOB.

If your goal is to use that application(exe) for the internet, you can still do it via Web Services. You should still first create an ActiveX object and then call the OCX methods from your web services components.

Anything is possible.

2007-05-16 19:11:29 · answer #2 · answered by Masao Utsumi 2 · 1 1

If you have the source code, which you hopefully do if you wrote them, you can manually translate the gaves to java. Executable files (.exe) are programs that are already compiled and cannot be decompiled easily or accurately, wheras java and javascript are languages used to write programs.

2016-05-20 16:21:31 · answer #3 · answered by susanna 4 · 0 0

No. Applets must be custom written. You can't magically convert a normal application into an applet. VERY SIMPLE applications requires minimal rewrite, but complex applications will need a LOT of rewrite.

2007-05-16 16:25:59 · answer #4 · answered by Kasey C 7 · 0 2

You can convert EXE to assembly code but not in java

2007-05-16 20:24:24 · answer #5 · answered by ask.earn.tk 3 · 0 3

fedest.com, questions and answers