Linear Collider Forum



Home » General » General Questions » Class not found
Re: Class not found [message #1749 is a reply to message #1748] Tue, 02 June 2009 00:51 Go to previous messageGo to previous message
jfstrube
Messages: 64
Registered: September 2004
Location: Tohoku University
Hi Ben,

I'm sorry, I'm not really sure what exactly you are doing.
Are you trying to execute that code in JAS3?

The reason why you encounter a class not found is that you have put the code into a subpackage. (See the first line in your code)
JAS3 doesn't know where to look for your code, if you don't explicitly tell it. You can do that in File->Load->Set Classpath

packages are directories in Java, so Jas will expect to find a .class file somewhere in org/lcsim/recon/muon.

If you just want to load the code into JAS3 and run it there, I would recommend removing the package statement at the top. If, on the other hand, you want to develop the code for inclusion in org.lcsim, the easiest way would be to follow
http://confluence.slac.stanford.edu/display/ilc/Creating+a+D river+using+Netbeans

Good luck.
Jan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:SLIO file
Next Topic:IDDecoder
Goto Forum:
  


Current Time: Mon Apr 23 10:27:16 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software