We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Java Prerequisites  Trouble with easy stuff
Page Index Toggle Pages: 1
Java Prerequisites?  Trouble with easy stuff (Read 602 times)
Java Prerequisites?  Trouble with easy stuff
Oct 5th, 2005, 1:38am
 
Hi,
I learned about processing yesterday from http://complexification.net/.  I downloaded the Windows package from this site (not the without-java one), unzipped it, pasted code from complexification.net, exported, and i had a working sample.  When I clicked the Play icon in the GUI program, however, I get an error:

java.lang.NoClassDefFoundError: Files\Symantec\Norton
Exception in thread "main"

I tried other source code from complexification.net and while others exported successfully, they didn't draw anything.  I tried downloads from other sites linked from here and got more compilation errors.  

I am guessing that I don't have some Java libraries installed?  I am not a Java person at all, but I am a programmer so I don't need a lengthy explanation if anyone has any advice for me... just a pointer to the name of what I am missing would be great.  

I think I must have the JRE installed since I have a systray icon of a cup of coffee that says:
Java 2 Platform Standard Edition
Version 1.5.0 (build 1.5.0_04-b05)

Any advice would be great.

BTW this one works for me:
http://complexification.net/gallery/machines/sandTraveler/index.php
(if I export and then open the html file)
Re: Java Prerequisites?  Trouble with easy stuff
Reply #1 - Oct 5th, 2005, 1:44am
 
This is my CLASSPATH:
C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip

I don't appear to have a JAVAHOME at all.

I apologize if I missed this somewhere obvious.  I did try to hunt around for the answer.

Re: Java Prerequisites?  Trouble with easy st
Reply #2 - Oct 5th, 2005, 4:25am
 
You might have a few problems.

But just to be safe, try turning off Norton antivirus first and then compile.
Re: Java Prerequisites?  Trouble with easy stuff
Reply #3 - Oct 5th, 2005, 5:00pm
 
have you read the section in the faq about this?
http://processing.org/faq/bugs.html#wontstart

in particular, try using run.bat instead.

also, it seems that any time you have spaces in your CLASSPATH or PATH environment variables, there are problems. so changing "program files" to its dos name "progra~1" will get rid of that space.

this is really getting to be a problem on windows and i think processing.exe is gonna need some work.
Page Index Toggle Pages: 1