Could not start the application

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
exaramco
Posts: 9
Joined: Tue Jan 17, 2012 10:20 pm

Could not start the application

Post by exaramco »

I have uninstalled all versions of Java, installed the latest version of Java 8 Update 31, rebooted, reinstalled Yawcam 4.1 and I still get this error message: Could not start the application--please reinstall the application.

I am running Windows 7, starter package, 32 bit.

I have run in the cmd mode, as suggested in other posts, and found that Java is installed correctly.

I can run Yawcam by executing ("C:\Program Files\Yawcam\debug_start.bat"; but if I close this window I get the same error message when starting Yawcam.

Yawcam was running fine before! Help!

Vic
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: Could not start the application

Post by z3r0c00l12 »

This is because of the new way java inserts itself in the Path environment variable.

See the solution here: http://www.yawcam.com/forum/viewtopic.p ... 3477#p9828
exaramco
Posts: 9
Joined: Tue Jan 17, 2012 10:20 pm

Re: Could not start the application

Post by exaramco »

Thanks for your reply. I did follow the instructions in that thread; the result is that Java is in the path, so that is not the problem. Must be something else.

Vic
fmerg
Posts: 7
Joined: Fri Oct 19, 2012 6:28 pm

Re: Could not start the application

Post by fmerg »

have same problem with windows 7 64 bit
java is in the path also
can start in the debug mode but thats it
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: Could not start the application

Post by z3r0c00l12 »

Does your path to Java looks like this? C:\program data\oracle\java\

If so, you need to change it, that's the problem. the folder above is not an actual folder, but a redirection and that is causing the issue.
exaramco
Posts: 9
Joined: Tue Jan 17, 2012 10:20 pm

Re: Could not start the application

Post by exaramco »

How do I change the path?
exaramco
Posts: 9
Joined: Tue Jan 17, 2012 10:20 pm

Re: Could not start the application

Post by exaramco »

z3r0c00l12 wrote:Does your path to Java looks like this? C:\program data\oracle\java\

If so, you need to change it, that's the problem. the folder above is not an actual folder, but a redirection and that is causing the issue.
My path is C:\programfiles(x86)\java
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: Could not start the application

Post by z3r0c00l12 »

Your path should be longer. Make sure you have something like this: "C:\Program Files (x86)\Java\jre7\bin" or "C:\Program Files (x86)\Java\jre8\bin"

Follow these instructions for changing the path: https://www.java.com/en/download/help/path.xml
Post Reply