Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot Compile using Win98/SE

Status
Not open for further replies.

alexpalmbay

Technical User
Sep 1, 2002
6
US
Good Afternoon,
I have a unique problem on Windows 98/SE. Whenever I try to compile a JAVA applet, the changes do not take effect, unless I reboot my PC. I've tested this out numerous times, and each time I get the same result. It doesn't matter the size of the pgm. Below are the steps I take:
1) Create a JAVA APPLET pgm, using NOTEPAD as my editor.
2) Select FILE|SAVE AS.
3) Save my file using a .JAVA extension, and I save it in my C:\jdk1.3.1_04\bin folder.
4) Open a DOS window, type javac pgmName.java. (No Errors)
5) Double-click on my HTML document associated w/my JAVA pgm, and I see my applet.
6) Close my browser.
7) Change the wording on a label w/in my applet, select FILE|SAVE.
8) Open a DOS window, type javac pgmName.java. (No Errors)
9) Double-click on my HTML document associated w/my JAVA pgm, but the change I made is not there. If I reboot at this time, double-click on the HTML document, then I see the changes.

I'm running Windows 98/SE, and I downloaded JDK1.3.1 v4 from the SUN site.

If I can get assistance w/this problem, I would greatly appreciate it. It makes it very time-consuming when I have to reboot my PC each time.

Thank you very much!
 
Bizaar ...

Can you try this simple class - compile it, run it, then change the text in the main() method, compile amnd run again - and post back whether or not you see changes in the output on the console....


//file Test.java
public class Test {
public static void main(String args[]) {
System.out.println("Hello Test Class One");
}
}


 
Good Afternoon sedj,
I tried your suggestion, and I was able to see the changes I made in the main method. When I compiled my pgm, the changes were taking effect, which I thought was great. Then after working on my pgm for about an hour-and-a-half, I noticed I wasn't getting the results I expected. I made a change to one of my labels, and sure enough the change didn't take affect. After I rebooted my PC, I recompiled my pgm, and I had tons of errors since none of the previous changes took affect. I retyped my pgm to the way I had it while it was working properly, I made a change to the label, and the change took affect. I made another change, but this time the change didn't take affect. As you can imagine, this is very frustrating. I'm just creating a simple pgm where the user inputs a grade, selects the average button, and the average grade is displayed. It's very time consuming when I have to reboot my PC everytime I make a change.

If you have any suggestions, or if you need further information, please let me know. I appreciate your time in assisting me in this problem.

Thank you very much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top