RemoteMaster/RMIR v2.00-preview8 is now available
Moderator: Moderators
-
vickyg2003
- Site Admin
- Posts: 7104
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
I read this, and I think its related.
http://bugs.sun.com/view_bug.do?bug_id=6840086
I'm not sure I understand the answer, but it would appear that a jdk file is a developer tool. Might be that Graham and Greg have different jdk versions.
http://bugs.sun.com/view_bug.do?bug_id=6840086
I'm not sure I understand the answer, but it would appear that a jdk file is a developer tool. Might be that Graham and Greg have different jdk versions.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Vicky's post shows that this is a Java problem, not specifically a RemoteMaster one. I don't think the version of Java JDK that I am using is relevant, since what I post to SourceForge are source files (.java) and Greg compiles the .jar file and the .class files it contains. For the record, though, I am still using JDK 1.6.0_12.
It is odd that v1.99 seems OK but v2.00 does not. I wonder if the Java bug was introduced in JDK 1.6.0_13 and that Greg had an earlier version of the JDK when he compiled v1.99 than v2.00. It might be worth trying my compilation, to see if it is any different - of course, it might be worse as my JDK version apparently is not supposed to be Windows 7 ready. I have posted the .jar file here:
http://www.hifi-remote.com/forums/dload ... le_id=9101
It is odd that v1.99 seems OK but v2.00 does not. I wonder if the Java bug was introduced in JDK 1.6.0_13 and that Greg had an earlier version of the JDK when he compiled v1.99 than v2.00. It might be worth trying my compilation, to see if it is any different - of course, it might be worse as my JDK version apparently is not supposed to be Windows 7 ready. I have posted the .jar file here:
http://www.hifi-remote.com/forums/dload ... le_id=9101
Graham
-
vickyg2003
- Site Admin
- Posts: 7104
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
Greg might have had a later version. The version that supports win7 64 1.6.0_18-b07, was available last March.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
They way I read the bug description is that what matters is the version of Java installed on the user's machine, not the builder's machine. This makes sense to me.
But that is contradicted by Rob being able to run v1.99 and v2.00 next to each other on the same machine, and only seeing the bug in v2.00.
Rob, are you launching v1.99 the same way as you launch v2.00?
Java allows multiple versions to be installed next to each other, so you may have a 'bad' version and a 'good' version on your PC.
But that is contradicted by Rob being able to run v1.99 and v2.00 next to each other on the same machine, and only seeing the bug in v2.00.
Rob, are you launching v1.99 the same way as you launch v2.00?
Java allows multiple versions to be installed next to each other, so you may have a 'bad' version and a 'good' version on your PC.
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Yes, I'm using a shortcut from the RM folder.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Can you check the shortcut properties are the same for both?
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
OK, here's an update. I wasn't using a shortcut for 1.99, I was just double clicking the jar file. So, I just created a shortcut for 1.99 and tried running it that way and now the icons are gone there too.
The shortcut is:
C:\Windows\System32\javaw.exe -jar "C:\Users\Rob Crowe\Documents\JP1\RM.1.99\RemoteMaster.jar" -rm
The shortcut is:
C:\Windows\System32\javaw.exe -jar "C:\Users\Rob Crowe\Documents\JP1\RM.1.99\RemoteMaster.jar" -rm
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
I get "Invalid or corrupt jar file" when I try to use this version (Win7 64).mathdon wrote:It might be worth trying my compilation, to see if it is any different - of course, it might be worse as my JDK version apparently is not supposed to be Windows 7 ready. I have posted the .jar file here:
http://www.hifi-remote.com/forums/dload ... le_id=9101
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The obvious question: what happens with 2.00 when you just double-click the jar file?The Robman wrote:OK, here's an update. I wasn't using a shortcut for 1.99, I was just double clicking the jar file. So, I just created a shortcut for 1.99 and tried running it that way and now the icons are gone there too.
Graham
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Of course, I never do that with 2.00 because I can't get to RM that way, but I just tried it and the icons are there.mathdon wrote:The obvious question: what happens with 2.00 when you just double-click the jar file?
I also tried using the shortcuts that Greg's setup.vbs routine created in the Start menu and the icons don't appear that way too.
The problem just occurs when you use a shortcut, it doesn't occur when you use the jar file directly.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
I've never checked this before, but I've just searched to see how many copies of javaw.exe I have on my machine. I've found 12, which seem to include 6 different versions and some duplicates. The later ones are in different subfolders of C:\Program Files\Java, and the one in C:\Windows\System32 is a copy of the latest of these.
You might find it interesting to seach your machine, even though it is a very new one, and see if you have a later version somewhere than the one in C:\Windows\System32.
Edit: The version used when you double-click the jar file will be determined by registry settings and may well not be the one in C:\Windows\System32 or, for that matter, the one located through a search path.
You might find it interesting to seach your machine, even though it is a very new one, and see if you have a later version somewhere than the one in C:\Windows\System32.
Edit: The version used when you double-click the jar file will be determined by registry settings and may well not be the one in C:\Windows\System32 or, for that matter, the one located through a search path.
Graham
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Thanks Graham, I'll check when I get home.
Do you know which registry setting determines the default version?
Do you know which registry setting determines the default version?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
I know in Vista, and would expect Windows 7 to be the same. It's a two-step lookup, though only the second step is likely to vary. First, under HKEY_CLASSES_ROOT you look up the extension, in this case ".jar". There will be an entry with name "(Default)". In my case, and probably yours too, this is "jarfile". Still under HKEY_CLASSES_ROOT you now look up "jarfile" and open the subfolder "shell\open\command". The "(Default)" entry there gives you the open command, in my case this entry isThe Robman wrote:Do you know which registry setting determines the default version?
Code: Select all
"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1" %*Graham
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
I switched mine to the jre6 library and now it works fine, thanks for the tip Graham.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Rob, could you do me a favor please? As you got a "corrupt jar" message from the jar I posted a few days ago, I have updated my JDK to the latest version, 1.6.0_22, and recompiled it. But I am not certain that the Eclipse IDE used for development is actually using this new version. I have updated my previous post, so the new jar is at the same url as before:
http://www.hifi-remote.com/forums/dload ... le_id=9101
I would be grateful if you could try it to see if this now works under Windows 7.
http://www.hifi-remote.com/forums/dload ... le_id=9101
I would be grateful if you could try it to see if this now works under Windows 7.
Graham