Search found 21 matches

by agnul
Fri Jun 12, 2009 10:19 pm
Forum: Java
Topic: Netbeans and Eclipse ok, Textpad not...
Replies: 6
Views: 1619

I followed your suggestions.Now new errors... No, you didn't. javac is the compiler. You pass file names as arguments to the compiler, and those filenames should have the .java extension . java is the interpreter. You pass class names as arguments to the interpreter. Class names don't have any ...
by agnul
Fri Jun 12, 2009 3:10 pm
Forum: Java
Topic: Netbeans and Eclipse ok, Textpad not...
Replies: 6
Views: 1619

Looking at your screenshot a couple of things come to mind :arrow: if all the classes and libraries are in your current working dir you don't need to specify a -classpath option (unless you changed the default classpath) :arrow: if you specify the -classpath option it should always include the ...
by agnul
Fri Jun 12, 2009 9:42 am
Forum: Java
Topic: Netbeans and Eclipse ok, Textpad not...
Replies: 6
Views: 1619

Both Eclipse and Netbeans are IDEs and they're main job is compiling java code. Both use their own compiler and know where to look for class libraries, without the need for you to tell them. Textpad on the other hand is only a text editor and relies on an external tool (the javac compiler) to ...
by agnul
Fri Apr 03, 2009 8:06 am
Forum: Java
Topic: Netbeans upset my machine (I think)
Replies: 3
Views: 999

Open the preferences dialog and check the command line for the "run java applet" tool, and then try to run the same command in a console window. Check for errors and fix them. (Most likely cause? appletviewer not found inside the command PATH).

Hope that helps...
by agnul
Mon Feb 16, 2009 8:04 am
Forum: Java
Topic: Textpad Is Not Seeing My User Made Classes
Replies: 7
Views: 2176

Again, thank you. The value I'm getting is as follows: CLASSPATH=C:\jdk1.5\jre\lib\ext\mysql-connector-java-3.1.12-bin.jar I'm not sure why my classpath is sending me to the connectorJ packages, but, as I said, everything was working fine and then just stopped working. Most likely a broken ...
by agnul
Wed Dec 31, 2008 9:23 am
Forum: General
Topic: Erasing blank lines
Replies: 10
Views: 1734

Or you could search for
^[[:blank:]]*\n
saving you the 'hassle' of remembering what's a white space :lol:
by agnul
Thu May 15, 2008 7:58 am
Forum: Java
Topic: which version of textpad is compatible with j2sdk-1.4?????
Replies: 9
Views: 2280

Has someone already mentioned good old uncle eric? :D
by agnul
Thu Apr 10, 2008 6:54 am
Forum: General
Topic: Zero vs Oh
Replies: 7
Views: 914

Take a look at the "Consolas" font from Microsoft. Should come bundled with the new VisualStudio releases (2005 and 2008, the "express" ones should do) and maybe with Vista.
by agnul
Wed Feb 20, 2008 8:50 am
Forum: WildEdit
Topic: 600 expressions
Replies: 8
Views: 2160

by agnul
Mon Dec 17, 2007 7:57 am
Forum: Java
Topic: Java Script
Replies: 1
Views: 1087

How to compile and run your first java program, from the java tutorial: java.sun.com
by agnul
Fri Aug 17, 2007 1:26 pm
Forum: General
Topic: New here, trying to learn regex -
Replies: 11
Views: 1982

MudGuard wrote:Once it has matched the nothingness at the beginning of the first line, it starts for matching the next thing immediately after the first match - i.e. at the beginning of the first line.
I knew there had to be a perfectly obvious reason I'd fail to think of ;-)
by agnul
Fri Aug 17, 2007 7:54 am
Forum: General
Topic: New here, trying to learn regex -
Replies: 11
Views: 1982

That regular expression should match every single line in any file (unless match case is checked) since all it says is "match the lines that begin with zero or more occurences of any (lowercase) letter". If a line begins with a lowercase letter the regex matches (1 occurrence), if it doesn't the ...
by agnul
Sat Apr 21, 2007 11:26 am
Forum: General
Topic: Several problems - TextPad5 (5.0.3)
Replies: 9
Views: 2045

Can't fix them, if you don't document them! So, here's one ;) Upgrading from tp4 to tp5 leaves the old settings in the registry (and that's fine), but tp5 copies them over to a new key without fixing the path of syntax definition files. So tp5 opens and complains about not being able to find the ...
by agnul
Fri Jan 27, 2006 9:33 am
Forum: Java
Topic: javac won't compile class files in same directory - Solution
Replies: 9
Views: 3230

Time to update the FAQ maybe? :wink:

(It seems to me that 90% of the problems people have with Java on this board and almost everywhere I hang out can be traced to a CLASSPATH thing...)
by agnul
Thu Jan 26, 2006 8:58 am
Forum: General
Topic: compile error
Replies: 4
Views: 760

Same as here :wink: