[brite-users] Problem to run BRITE on the Linux

Behzad Sajed Khosrowshahi umsajedk at cs.umanitoba.ca
Fri Feb 17 17:37:53 EST 2012


Hi Everyone, 


I am new to BRITE and I want to use it for my thesis project. After downloading the 
BRITE, java version, I was trying to follow up the instruction to run 
it. 


I follow this link : http://www.cs.bu.edu/brite/user_manual/node46.html

and this is the problem that it cannot find the class. 


Any idea how I can fix this problem?

Thanks,


eagle.cs.umanitoba.ca 5% cd Simulation/
BRITE/              BRITEVersion21.tar  
eagle.cs.umanitoba.ca 5% cd Simulation/BRITE


eagle.cs.umanitoba.ca 6% pwd
/home/cs/grad/umsajedk/Simulation/BRITE
eagle.cs.umanitoba.ca 7%make java
make[1]: Entering directory `/home/cs/grad/umsajedk/Simulation/BRITE/Java'
javac -O -classpath ../:. Main/*.java Graph/*.java Model/*.java Import/*.java Export/*.java Util/*.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make[1]: Leaving directory `/home/cs/grad/umsajedk/Simulation/BRITE/Java'
make[1]: Entering directory `/home/cs/grad/umsajedk/Simulation/BRITE'
make[2]: Entering directory `/home/cs/grad/umsajedk/Simulation/BRITE/GUI'
javac -O -classpath ../:.:../Java/ *.java
make[2]: Leaving directory `/home/cs/grad/umsajedk/Simulation/BRITE/GUI'
make[1]: Leaving directory `/home/cs/grad/umsajedk/Simulation/BRITE'
eagle.cs.umanitoba.ca 8%
 pwd
/home/cs/grad/umsajedk/Simulation/BRITE
eagle.cs.umanitoba.ca 9%java Main.BRITE UserConfig.conf output
Exception in thread "main" java.lang.NoClassDefFoundError: Main/BRITE
Caused by: java.lang.ClassNotFoundException: Main.BRITE
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at
 java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Main.BRITE. Program will exit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cs-mailman.bu.edu/pipermail/brite-users/attachments/20120217/0348f28e/attachment.html 


More information about the brite-users mailing list