i'm a beginner in java
after studying in GUI concepts i wants to create a files to my codes to be executable by other users
actuallly what's the topics must be learned to accomplish this??
Printable View
i'm a beginner in java
after studying in GUI concepts i wants to create a files to my codes to be executable by other users
actuallly what's the topics must be learned to accomplish this??
Hi,
You can try this:
http://www.javaprogrammingforums.com...sing-java.html
or if its not what you want, you can go to this section:
Java Tips & Tutorials - Page 2 - Java Programming Forums
Many tips regarding a file, reading, writing, creating directory, reading last line.
Cheers,
Truffy (:|(:|(:|
Are you referring to writing files, or creating an executable? Truffy answered the first possibility, if you are looking for how to accomplish the second, you should create an executable jar. Search the forums for executable or visit Sun's site:
Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
Setting an Application's Entry Point (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files)
thanks copeg and also Truffy
but i need to make the created file is independent from my PC,the JAR file still not working on other PCs
Are you talking about creating JAR files rather than an actual text file?
Take a look here:
Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)