FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 838 : Launching Processing.exe causes "Could not find the main class. The program will exit"
Last modified: 2008-07-28 09:28
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
jphdavis
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-06-30 13:36
Having downloaded Processing-0135 for Windows with Java and unzipped it into the
directory c:\processing-135, I run the executable processing.exe and get the
message:
Could not find the main class. The program will exit.
from the "Java Virtual Machine Launcher" (I believe javaw.exe from .\java\bin)
I am running Windows Vista with pretty much all recent patches and updates
installed. I also have Java 1.6 installed but it appears to be picking up the version
with Processing, however it does mean my classpath and qjava environment variables
are set for the installed version of Java.
I'm running on a Dell Vostro 1700 laptop which has a nVidia 8600M graphics chip.
My user account name is jules.
I haven't found a copy of preferences.txt as (located in Documents and Settings →
Application Data → Processing → preferences.txt) does not appear to exist in the
same place on Vista.
I have disabled virus protection and tried with it off.
Thanks
Additional Comment
#1 From fry 2008-07-19 15:58
please open a new command prompt and type:
echo %QTJAVA%
echo %CLASSPATH%
echo %PATH%
and post the results here.
Additional Comment
#2 From jphdavis 2008-07-28 02:05
Further data requested:
C:\Users\jules>echo %qtjava%
C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip
C:\Users\jules>echo %classpath%
.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip
C:\Users\jules>echo %path%
C:\Program Files\SN Systems\PS3\bin;C:\Program Files\SN
Systems\Common\bin;C:\Pr
ogram Files\Microsoft DirectX SDK (August 2007)\Utilities\Bin\x86;C:\Windows\sys
tem32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common
Files\Roxio Sh
ared\DLLShared\;C:\Program Files\Common Files\Roxio
Shared\DLLShared\;C:\Program
Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL S
erver\90\Tools\binn\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\
QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\PROGRA~1\DISKEE~1
\DISKEE
~1\
C:\Users\jules>
Additional Comment
#3 From fry 2008-07-28 08:19
can you try release 0142 or 0143 to see if you have the same problem?
Additional Comment
#4 From jphdavis 2008-07-28 09:24
(In reply to
comment #3
)
> Additional
Comment #3
From fry 2008-07-28 08:19 [reply] can you try release
0142 or 0143 to see if you have the same problem?
Tested in version 143. Problem resolved. Runs up and loads CubcGrid successfully on
the system described above.
Additional Comment
#5 From fry 2008-07-28 09:28
good, thanks for checking and replying.