Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Invoking the engine from a DLL [Re: V_Software] #336568
08/05/10 01:15
08/05/10 01:15
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Thanks for your motivating words, V_Software!

There are actually two solutions to get an EXE from a Java .JAR archive:

1.) Wrap it into a loader. Looks and feels like an EXE but it just invokes the JVM with JAR contained in the EXE data.

2.) AOT compilation (Ahead Of Time): you take a JAR and use an AOT compiler which compiles the whole code as x86 executable BEFORE running the code. There are only a handful approaches to this available and the best known is Excelsior JET. It is free for non-commercial use, though. If you are a big company, you pay 1.000 - 2.500 $, if you are a small company or academic, you pay less. I am not 100% sure if they support every feature of the current JDK version. There is also an open source GNU Java Compiler (GJC), but the last news were from September last year and I highly doubt that they are compatible and good enough.

I primarily have this thing as experimental project in mind. I don't want to make real games with this in a first place.

Re: Invoking the engine from a DLL [Re: HeelX] #336696
08/05/10 19:23
08/05/10 19:23
Joined: Jan 2009
Posts: 76
V
V_Software Offline
Junior Member
V_Software  Offline
Junior Member
V

Joined: Jan 2009
Posts: 76
ok, well the best things started with little experiments laugh

Re: Invoking the engine from a DLL [Re: V_Software] #336705
08/05/10 19:36
08/05/10 19:36
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
I'd go with number 1 personally. Less complicated and you can just replace the .jar when incrementing versions.

Page 2 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1