will give its version
Microsoft Windows [Versión 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
Can you look in the registry for the commandline used with a jar file to see what the path to the java exe file it uses? Here's what mine looks like:
"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1 " %*
Last edited by NormR; May 1st, 2012 at 11:35 AM.
that is the path of my file.
Edit: sorry I am worst than I thought I was
Did you look in the registry and see the command line for eecuting jarfiles?
Okay, I am in regedit, what should I do now?
find the entry for .jar files and then the entry that is referred to from that entry.
What is the command line used to execute jar files?
there is no jar. there is only JAR. maybe that is the problem, also, is that of nokia think alright, why do I have a nokia thing over there. There is this jarfile, but I guess the error is the registry, cause it is not like you said
Many products change the registy when they are installed and destroy what was there before the installation.
Look further on in the registry for an entry that has the word jar in it. Mine has an entry named: jarfile. Look in that entry for a command line like I posted but with a path for your OS.
Also look at the entry in the Datos area that you posted. What command line is there?
okay, I catcht it, the command line in my jarfile is
"C:\Programs File\Java\jre1.7.0\bin\javaw.exe" -jar "%1" %*
and the .JAR doesn't seems to have a command line
If the Nokia stuff does not correctly use .jar files, and you are a brave person, changing the registry could damage your system,
you could change the Datos value for the .jar entry to refer to the jarfile entry.
Export the .jar entry with the Export command before changing it in case you need to restore it.
I already exported the .JAR (with capslock)
... How can I change the Datos value?
Right click on the line and select Modify
Sorry for being late, well this is what I did:
I copy the command line of jarfile and paste it on .JAR
"C:\Program Files\Java\jre1.7.0\bin\javaw.exe" -jar "%1" %*
And It still don't work, did I did something wrong?