Jump to content

Java

Featured Replies

I wonder about two things:

1, Does anyone here know of a good game tutorial which explains all the lines of code, if u do know of a good and long tutorial that covers a lot of areas but doesent involve game programming please give me that(google gives me hello world program, hate it).

 

2, How can i make a java program to exe, would be easier to launche under Xp.

 

 

Thank you all for your answers

 

aM

aM, for compiling .java into .exe, Sun offers a compiler called JIT(Just-in-time) compiler, which compiles the code into native machine code....Go to java.com for more info....

 

Albert

tutorials

 

http://www.wdvl.com/Authoring/Java/Intro/Start.html

(basics for beginners)

 

http://java.sun.com/docs/books/tutorial/index.html#online

 

http://www.csse.uwa.edu.au/programming/java-tutorial/

(doesnt look much until you click contents for all the things!)

 

http://www.amazon.com/exec/obidos/tg/detail/-/0764507656/002-0212384-3957631?v=glance

(if you are willing to pay this looks like an ok book)

 

dunno just search around on google!

 

java --> exe

http://www.mycgiserver.com/~ipnetdevelop/index.html

It encrypts the selected java class files

and create and executable file to run the application.

 

Java byte code encryption

Easy GUI base application

Save encryption definition in a project

Create an executable file to run the application

Transparent encryption/decryption

 

http://www.ej-technologies.com/products/exe4j/overview.html

is probably the most common

 

================

 

have you just started learning?

or half way through learning?

or are you already and expert?!

 

what will you be using it for?

e.g. games, simple programs (explain further)

not being rude, but it would allow me (and others) to give you more specific advice.

Hi,

 

1) I wouldn't recommend Java to be used for high end game programming because of performance problems. When Sun was developing Java, they sacrificed performance for interoperability.

On the other hand, some very good games have been written in Java and perform perfectly. E.g. http://www.runescape.com

 

2) Why would it be easier to make a java program into an exe?

You should create a jar file (which is an executable file that stores its contents like a zip file). If Java is installed on the machine, then running the jar file will be as simple as running an exe.

Converting your .class file to an exe has lots of drawbacks. The main one being that you can't guarantee that the application will run as expected due to the lack of a JVM.

If your writing an application specifically targeted for a Windows platform, then you should use a language like VC++, C, C#, Visual Basic or something like that.

 

Just my 2 cents :)

  • Author

OBCT: im just trying out a bunch of languages, i have tried C and C++, some VB and vb.net(im doing somthing with this now), this is wy i would like to test java even if i think i will go for vb.net when i learn more of it.

 

Thank you all for your answers

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.