| | |
how do i make executable
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Sigh, more IDE idiocy...
And what do you do when you don't have netbeans?
Maybe you should learn to use the compiler and runtime, but of course that would mean you'd learn something and we can't have that, now can we?
And what do you do when you don't have netbeans?
Maybe you should learn to use the compiler and runtime, but of course that would mean you'd learn something and we can't have that, now can we?
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Hey thanks Richard. U seem 2 no what you are on about. If you don't mind explaining to me from the start how to use java from the command line. I've never used it b4.
I guess you could say I'm:-
So yes,I don't know how to change the directory or how to compile and run in the command line either. So you'll have to go through that with me if you don't mind. I appreciate all the help.
To jwenting...
I prob sound stupid but we all have to start somewhere don't we? And ur right about the pitfalls associated with fancy IDEs.
:o
I guess you could say I'm:-
•
•
•
•
Originally quoted by jwenting
"...Another victim of the IDE. Learns the tool, not the language, and gets stuck when there's no nice shiny "run" button for something."
To jwenting...
I prob sound stupid but we all have to start somewhere don't we? And ur right about the pitfalls associated with fancy IDEs.
:o
It's all explained in your compiler documentation and the documentation for your operating system.
It's so basic in fact that you shouldn't consider programming anything until you can use the commandline comfortably.
It's so basic in fact that you shouldn't consider programming anything until you can use the commandline comfortably.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jun 2005
Posts: 71
Reputation:
Solved Threads: 1
Iamthwee,
Netbeans uses the Apache Ant build tool to do it's compilation. The Ant build.xml file Netbeans uses should create a jar in a directory called 'dist' under the project folder.
As you know the pitfalls of using an IDE I would really recommend learning Ant. OK so it is not going right down to the command line (which is preferable) but it is a step in the right direction and will free you from the Netbeans IDE.
Apache Ant home page:
http://ant.apache.org/
The Ant Manual:
http://ant.apache.org/manual/index.html
Have fun.
Kate
Netbeans uses the Apache Ant build tool to do it's compilation. The Ant build.xml file Netbeans uses should create a jar in a directory called 'dist' under the project folder.
As you know the pitfalls of using an IDE I would really recommend learning Ant. OK so it is not going right down to the command line (which is preferable) but it is a step in the right direction and will free you from the Netbeans IDE.
Apache Ant home page:
http://ant.apache.org/
The Ant Manual:
http://ant.apache.org/manual/index.html
Have fun.
Kate
•
•
Join Date: Jun 2005
Posts: 71
Reputation:
Solved Threads: 1
As I was editing an Ant build.xml file today at work it occurred to me that although it seems easy enough, it might in fact be more difficult for a beginner to get to grips with Ant then the standard Java toolset (javac, java, jar etc ...). To that end, Iamthwee, please see below a link to the Java tools documentation.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/#basic
This page will give you all the information you need to work with Java at the command line.
Kate
http://java.sun.com/j2se/1.5.0/docs/tooldocs/#basic
This page will give you all the information you need to work with Java at the command line.
Kate
Yes, ANT is rather complicated. The authors have by now realised that using an XML based buildfile was probably not a good idea
but of course it's far too late to change it.
The commandline tools are easy to use if you take a few minutes to RTFM.
but of course it's far too late to change it.The commandline tools are easy to use if you take a few minutes to RTFM.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- Make Exe Into A Service In Windows (Visual Basic 4 / 5 / 6)
- Python Executable (Py2Exe) (Python)
- Java Executable? (Java)
Other Threads in the Java Forum
- Previous Thread: creating a Trie
- Next Thread: about static variable
| Thread Tools | Search this Thread |
2dgraphics account android api apple applet application array arrays automation banking binary binarytree bluetooth chat chatprogramusingobjects class classes client code component data database derby design draw eclipse encryption error event exception fractal game givemetehcodez graphics gui html ide if_statement image inheritance input integer interface j2me java javadesktopapplications javaprojects jlabel jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile monitoring netbeans newbie nullpointerexception open-source oracle print printing problem program programming project property recursion reference ria scanner screen search server set size sms sort sourcelabs splash sql static stop string swing testautomation threads time tree ui unicode validation windows






