Install Eclipse Install JDK go to C:/Program Files/Java and find the JDK folder open it up and right click any of the programs and copy the location address Right click computer and then Advanced System Settings Then click Environment Variables Click new, and call it PATH and paste the link in to the other thing, then click ok and close it all... Run Eclipse and write a java program, save it with a .java prefix You can easily find out how to run a java program from CMD off the internet
I think that it could be a good programming language as it is on a lot of computers...
i dont want to be unpolite but to cut it short: stay out of the things you dont know ^^.
It would take some lines to make clear why and why not to use java but in the end: java will NOT be the language of choice. (main aspect is performance)
Zitat von unterbuchsei dont want to be unpolite but to cut it short: stay out of the things you dont know ^^.
It would take some lines to make clear why and why not to use java but in the end: java will NOT be the language of choice. (main aspect is performance)
Ok... I think it should be kept here as a "How-to", I thought I was helping...
Zitat von unterbuchsei dont want to be unpolite but to cut it short: stay out of the things you dont know ^^.
It would take some lines to make clear why and why not to use java but in the end: java will NOT be the language of choice. (main aspect is performance)
Performance? You've got to be kidding me. I thought Toonstruck2 was gonna be a 2D point'n'click adventure - any PC sold in the last 10 years or so should be able to execute a well programmed 2D adventure written in Java. Even more complex 3D games like minecraft are written in Java! Also the point'n'click adventure "Edna & Harvey: The Breakout" ("Edna bricht aus" in german) is written in Java - which is the reason why it can be played on Linux without wine or crap like that, even if the developers didn't intend it.
I don't particularly like Java, but performance is not a reason for that in most use cases. And it has its advantages: It's cross-platform, relatively easy to use (e.g. because of garbage collection) and a lot of programmers know Java (because it's widely used in the real world and most universities teach it).
Good that you wrote about "Edna & Harvey: The Breakout" ("Edna bricht aus" in german). i have that game on my pc and my netbook and on the pc its no problem to play it (the specs are in my signature). but on my netbook the save and load sequences take over 2 minutes! this is definately due to the java virtual machine trying to access the memory and save data to it. i think that java is a good programming language if the take cross platform compatibility in consideration but i still think that peformance is a big problem .
Zitat von unterbuchseGood that you wrote about "Edna & Harvey: The Breakout" ("Edna bricht aus" in german). i have that game on my pc and my netbook and on the pc its no problem to play it (the specs are in my signature). but on my netbook the save and load sequences take over 2 minutes! this is definately due to the java virtual machine trying to access the memory and save data to it. i think that java is a good programming language if the take cross platform compatibility in consideration but i still think that peformance is a big problem .
"definitely"? So it's not because maybe their savegame-code sucks or something? Or maybe your harddrive is full or fragmentated or ... I'm don't know what the issue in Edna is, but it should certainly be possible to write fast savegame-code in Java (and there's horribly slow savegame code written in C++ in some games) - especially for a point'n'click adventure that has not such a big state to save (compared to a 3D action game like Quake where the exact state and position of every monster, door, item, ... needs to be saved).
I mean, point'n'click adventure written in C have saved (and restored) their state on 486 machines without such a big delay - so it should certainly be possible to do this with a game written in Java on machines that are at least 15x as fast (CPU-wise) and also have harddrives at least 7x as fast as the ones back then (not entirely sure how fast HDDs were back then - I just assumed 8,33MB/s of PIO 2 back then and at least 60MB/s now on a netbook.. but probably it's more like 5MB/s vs 80MB/s).
of course performance lies in the arms of the programmer. So lets just say that it is possible to use java but it will be an issue that its running in a vurtual machine, i mean in an emulated environment.