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??
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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)
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.