This site requires JavaScript, please enable it in your browser!
Greenfoot back
LakeOtis
LakeOtis wrote ...

2016/12/18

how do I turn my .jar or .gfar file into a .exe file that I can put on a website?

LakeOtis LakeOtis

2016/12/18

#
I would also like to see my project's whole source code. (not just the World and Actor subclasses.)
danpost danpost

2016/12/18

#
LakeOtis wrote...
I would also like to see my project's whole source code. (not just the World and Actor subclasses.)
Please be specific as to what you mean by this; also, give examples as to what else you would want to see.
Nosson1459 Nosson1459

2016/12/19

#
LakeOtis wrote...
how do I turn my .jar or .gfar file into a .exe file
You can look here.
LakeOtis wrote...
I would also like to see my project's whole source code. (not just the World and Actor subclasses.)
What other source code is there to see? You can just open the .java file with a notepad and see it.
LakeOtis LakeOtis

2016/12/19

#
where's the .java file?
Nosson1459 Nosson1459

2016/12/20

#
LakeOtis wrote...
where's the .java file?
The .java file is the file for your subclass, when you compile a .java file you get class files (I think) so the .java file and the .class files are in your program directory folder.
LakeOtis LakeOtis

2016/12/20

#
but where's the .java file for the whole game?
Nosson1459 Nosson1459

2016/12/21

#
LakeOtis wrote...
but where's the .java file for the whole game?
Greenfoot makes a game out of different subclasses (.java files) together, these classes usually extend World or Actor but each subclass has it's own file in the program/project directory - that's what all those files are in the folder when you click on your program folder, so you can't have different classes in one .java file because if they are in one .java file then they are in the same class.
LakeOtis LakeOtis

2016/12/23

#
so can you turn it into a .exe file?
Nosson1459 Nosson1459

2016/12/23

#
You first have to export it as a .jar file then:
Nosson1459 wrote...
LakeOtis wrote...
how do I turn my .jar or .gfar file into a .exe file
You can look here.
this post was posted above in this discussion.
You need to login to post a reply.