matt van

Greenhorn
+ Follow
since Jan 03, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by matt van

I just wanted to thank everyone for their help. I am not sure exactly what the problem was, but I believe it was an internal problem. I tried to open my cmd prompt from the run command and I was getting an error that the program was already being used. If I typed in command, it would bring me to the command prompt, but would not allow me to see the dir. I called text support for my laptop and they could not figure it out. I ended up saving my documents and using the recovery disk. I downloaded textpad and now the program works fine. Sorry for all of the confusion.
17 years ago
The program hello.java is being saved in my C drive at C:\Documents and Settings\Settings\Matt Van\Desktop\Java Project Assignments\hello.java, after I compile the program from Tools using Compile Java, it shows command result after I click on Compile Java, but nothing is inside this file. I then click on Run Java Application and it gives me the result from file C:\Documents and Settings\Settings\Matt Van\Desktop\Java Project Assignments\tp06b363.bat, from this prompt it tells me "the process cannot access the file because it is being used by another process" and never gives me the output using Textpad. I hope this helps. I am not sure how to use the command line correctly.
[ January 11, 2007: Message edited by: matt van ]
17 years ago
For the last two messages, I tried to run from the command line and it does not seem to work, probably because I am not sure exactly how to do it. Do you have any suggestions?
To the second message, what would I be looking for to kill the non-essential processes in task manager. Sorry this is taking so long for me to figure out and thank you for continuing to try and help me.
17 years ago
Sorry about the last post [removed by mw], it does say in the command results window, "Tool completed successfully". I then try to run java application and it continues to give me the same result of "the process cannot access the file because it is being used by another process". I did go to Configure and preferences, but this still did not allow me to see the results. Thank you for all the help, please, if you have any more suggestions.
[ January 05, 2007: Message edited by: marc weber ]
17 years ago
I have tried running the program from Textpad and it does not create a .class file in the window to the left of the editor that shows the Command Results. It does create a .class folder in the directory that I am trying to run it out of, but this still does not allow me to see the output. Is it possible that this is not working because I do not have the correct directory set up for the files, meaning (am I trying to run this from a folder that is not attached to the correct directory that textpad is held in) Does this make sense?
17 years ago
Shouldn't I be able to run a program from Textpad instead of having to go to the command line? If so, what do I need to do in Textpad to get the program to work, like helloworld.
Thanks
17 years ago
Thank you, I will take a look.
17 years ago
How do you run the javac compiler? Also, how do a run a program from the command line? I created a simple program from:
public class hello
{
public static void main(String[]args)
{
System.out.println("Hello,World");
}
}

After typing this, I went to tools and then Compile Java, I clicked on this and it did compile, when I tried to run the program again using Run Java Application, I get the response "the process cannot access the file because it is being used by another process".
Also, when I do compile the file hello, it does not create a .class file.
I hope this makes sense, sorry if there is confusion.

Thank you for the help!
17 years ago
I have just installed the latest textpad to my computer and I have been trying to compile programs that my students created using blue J. I have been able to compile the programs, but when I try to Run the programs, the Run Box appears, if I click ok, it gives me the response, the process cannot access the file because it is being used by another process. As well, if I click on Run Java Application, I get the same response. I am trying to run .java files, What am I doing wrong? Somebody please help.

17 years ago