![]() and java programs or any other development environment: for example, BlueJ. ![]() Not shure if that's what you wanted to know. The programming element in the syllabus is aimed at algorithmic problem. 7 In our project folder, heres all the files Source code Bytecode BlueJ project file A readme.txt file that most computer programs provide to users. Same with input, of course, just place the files for manipulation in a folder named "input" within the folder where your exe is, and specify it in the program as "input/sometext.txt". You should see a project window in front of you, with a single piece-of-paper icon in it. In the 'File name' box, type 'introlab', then click the 'Create' button. Once BlueJ has started, click on 'Project', then choose 'New Project'. So if you specify an output location as new File("output/sometext.txt"), the resulting file will be in a folder named "output" within the same folder as your exe is in. Once you have logged on to the computer, launch BlueJ by double-clicking on its icon on the desktop. ![]() The input/output folder paths will be the same as in the jar version - relative to where the exe/jar is. ![]() If you give launch4j the path to your JRE, it can also include that in the exe, thus making it completely standalone. You don't have to make use of everything it offers, just specify the jar and the JVM arguments and hit the create button. This is how i would do it: I'd export the jar, then wrap it with this tool: launch4j. It looks like you wouldn't want the input/output folders wraped in the jar, since they wouldn't be accessible without cracking the jar open. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |