Wednesday, February 11, 2015

DR JAVA

DR JAVA IDE

November 2014. Around this time, I have already studied Java, C, C++, VB.NET, JavaScript, Python, and HTML, and explored C# and CSS. I have yet to write a program in PHP and SQL. So I started learning about PHP and SQL on this month. I am also spending 24 hours a week tutoring programming, Windows 7, and Microsoft Office 2013.

Now going back to the future, just last week, I learned that compilers can get a system error also. And any programs the erroneous compiler has compiled are prone to bugs that can only be fixed by compiling the program again using a new compiler that has not outputted a compiler error.

I was compiling a Java program using DrJava when it outputted an error. I did not pay attention to it because I did not know any better then. The program always returned a runtime exception in the same instruction. I did not know then that it was not really an exception, until I compiled it using the command prompt instead.

The following is the output of the DrJava program run. The ellipsis are placeholders for more data I eliminated to shorten this report. The Compiler Discovery Log is empty. The report outlines the Swing package components. However, the program that I was running at the time did not use Swing components. So, there. I think the wrong spelling of "occurred" emphasizes the error condition.

1 error occured! Please submit a bug report containing the information below and an account of the actions that caused the bug (if known) to http://sourceforge.net/projects/drjava. You may wish to save all your work and restart DrJava. Thanks for your help in making DrJava better!
edu.rice.cs.util.UnexpectedException: java.util.concurrent.TimeoutException
at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$StartingState.restart(MainJVM.java:827)
at edu.rice.cs.drjava.model.repl.newjvm.MainJVM.restartInterpreterJVM(MainJVM.java:160)
 . . .
at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:451)
 . . .
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
 . . .
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
 . . .
System Properties:
DrJava Version drjava-20140826-r5761
 . . .
sun.boot.library.path = C:\Program Files\Java\jre1.8.0_25\bin
 . . .
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
 . . .
Used memory: about 99.08 megabytes
Free memory: about 15.42 megabytes
Total memory: about 114.50 megabytes
Total memory can expand to: about 873 megabytes
Number of processors/cores: 4
Compiler Discovery Log:

CYK:
What is the name of the Java interpreter?
What does IDE stand for?
What is the short name for 1,024 bytes?

Compiler filer, what’s your function?

John Sindayen

1 comment:

  1. Java is a important object oriented programming language which is used to build up application in Online Java Course

    Java Online Training

    ReplyDelete