Square Root of Negative One

The system cannot find the file specified

Posted in java by cheng on January 31, 2010

two hours to figure this out??

[Thanks to http://forums.java.net/jive/thread.jspa?threadID=36207&tstart=150%5D

“highscore.txt” should be in your project’s base directory, not in any of the directories that NetBeans has created for you. In your case, it should be in:

C:\Documents and Settings\Collin\My Documents\NetBeansProjects\Yahtzee

Alternatively, you can find out where your file points to in your Java code:

File file = new File("highscore.txt");

This should output the system-dependent, unique path to where the virtual machine believes the file is, so you can see where the discrepancy is.



Posted in java, visual by cheng on August 26, 2009

Jubjub is an iconic programming environment developed in Robotics Institute, CMU. ItĀ helps beginner students to build an understanding of programming concepts and a mental model for the structure of procedural languages.

I designed the graphics for Erik Pasternak, the developer of jubjub.