Problem with java: Could not find the main class

155 views
Skip to first unread message

repino

unread,
Mar 7, 2012, 9:58:06 AM3/7/12
to visone-users
Hi,

I have a problem with Java. When I try to execute Visone, the
following message appears: Could not find the main class: C:\Users
\Trabajo\Ruben\Programas\visone-2.6.5.jar. Program will exit

This problem is not new, other versions also occurs.

Greetings and thanks,

Rubén.

Steffen

unread,
Mar 7, 2012, 10:55:15 AM3/7/12
to visone-users
Hej, Rubén,

that could be a problem with the given path of your javaw.exe.
You open that *.jar-files are linked with an exe to open with.

Try to figure out if it is: (if you are running an window pc)
C:\Program Files\Java\jre6\bin

or

C:\Program Files (x86)\Java\jre6\bin

now just try the other one....

repino

unread,
Mar 7, 2012, 9:34:24 PM3/7/12
to visone-users
Thans Steffen.

I already checked the link Visone each file .exe in the path:
C:\Program Files\Java\jre6\bin

I tried to javaw.exe, java.exe, javacpl.exe etc.

Rubén.

Uwe Nagel

unread,
Mar 8, 2012, 3:04:11 AM3/8/12
to visone...@googlegroups.com
Hi,

so usually java.exe should be the right one.
could you try to open a command window (type "cmd" in the start menu)
and post the outcome of
java -version

and then (from the directory where the visone-2.6.5.jar resides) the
output of
java -jar visone-2.6.5.jar

since it also does not work with older versions it is likely to be a
problem with your java runtime environment.
Besides that, does the webstart work for you?

Uwe

Steffen

unread,
Mar 8, 2012, 3:59:11 PM3/8/12
to visone-users
Sorry, i thought of the java.exe too.

So, Rubén, try it with the java.exe in the Path: C:\Program Files
(x86)\Java\jre6\bin
Reply all
Reply to author
Forward
0 new messages