Jump to content

Java


aM

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

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.