will open files in TextPad, but cant find when run or compil

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
richY
Posts: 2
Joined: Fri Nov 18, 2005 2:51 pm

will open files in TextPad, but cant find when run or compil

Post by richY »

I am taking a two part course on Java. I use a jump drive to store my programs, so I can work at home and school. In both cases, WinXP is the platform. At school, I have no problems at all. At my house, I can open the files in TextPad just fine. Unfortunately, it seems to loose track of the file location after that. When I go to compile, I get a dialog box telling me that the file specified can't be found. When I go to run my programs, I get a ClassNotDefined error. I have uninstalled and reinstalled both Java 5.0 and TextPad so many times, I could just scream. I have compared the preferrences of the machines at school to home, and they are pretty much identical. I was using a trial version of TextPad, but have purchased a single user license in an attempt to rectify the situation. I have perused the forums to try to find the answer. I find people with similar problems, but their suggested fixes have only worsened the problem, and had to be undone. My instructor has no suggestions to offer. She is probably becoming frustrated with me, because I am weeks behind on my homework. This would not be the case if I COULD WORK FROM HOME! I have even tried to install both on another machine in this house, to have the same symptoms occur. This, and the fact that everything quit almost thirty days to the hour, lead me to suspect that Helios has placed a hidden driver on my hard drive, which is interfering with the functinoality. Somebody PLEASE HELP, before I go the rest of the way to insanity (and get a bad grade in the process!). I need this to work for the Spring semester as well.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Nope to the thought of Helios performing nefarious actions. The only difference between registered and unregistered TextPad is the nag pop up.

I will suggest you try the same thing I suggest to everyone having java issues. Go to your command prompt (Start, Run -> cmd)and try it from there. e.g.

Code: Select all

C:\>cd \javaStuff
C:\javaStuff>javac MyJavaFile.java
C:\javaStuff>java MyJavaFile
Do all of those steps work, assuming that you change them to the appropriate locations and file names?
I choose to fight with a sack of angry cats.
Post Reply