CHDK on Canon SD630 - workaround for failed installation - page 2 - General Help and Assistance on using CHDK stable releases - CHDK Forum

CHDK on Canon SD630 - workaround for failed installation

  • 17 Replies
  • 7846 Views
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #10 on: 07 / December / 2016, 15:05:30 »
Advertisements
Meanwhile, there are several other methods of preparing SD cards : http://chdk.wikia.com/wiki/Prepare_your_SD_card

None of them are as complete and easy as using STICK unfortunately.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #11 on: 08 / December / 2016, 09:19:51 »
  Gary

the message you got - "Unsupported major.minor version 51.0" - actually means that the java run time you are using is earlier than the one I used to compile STICK, i.e. not 1.8 (or 1.7 either - looks like you were using 1.6). To test this could you:
   open a terminal window
   navigate to the STICK folder
   type the command
       java - version
If this says 1.6 then there's something wrong with your java install. If it says 1.8 then could you try executing
   ./stickML.command


Dave
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #12 on: 09 / December / 2016, 13:21:29 »
Another Update:


I have updated my MacOS Sierra to 10.12.1 (same as Gary) and re-installed the latest Java (taking care to remove the old one). I can confirm that STICK runs fine in the new environment.


Dave
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #13 on: 09 / December / 2016, 17:49:06 »
Someone else reported the same problem as Gary. It turns out that it is necessary to remove an old version of Java before installing a new one. I'm pretty certain that if Gary follows the instructions on the Oracle webpage for doing this and then reinstalls Java 8 things will work fine (they did for the other user).
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #14 on: 09 / December / 2016, 23:44:42 »
Hi Zeno

I followed that Oracle link and performed an uninstall of Java.
Then I closed my Safari windows and quit Safari.
Then I downloaded Java distribution jre-8u111-macosx-x64.dmg and reinstalled it.
I once again closed all my Safari windows and quit.
Then I brought up the Java test page which verified the installation.

"Verified Java Version
Completion checkmark
Congratulations!
You have the recommended Java installed (Version 8 Update 111)."

When I tested with STICK, I got the same "unsupported major.minor version 51.0" error.

So I followed earlier instructions to navigate to my STICK directory and verify the Java version.

Garys-Mac-mini:Desktop Gary$ cd STICK
Garys-Mac-mini:STICK Gary$ ls
Stable CHDK      elevate.vbs      sticklog.txt
Stick.jar      stick.bat      stickx.cmd
asseng32.dll      stick.command      stickx.sh
asseng64.dll      stick.properties
elevate.cmd      stickML.command
Garys-Mac-mini:STICK Gary$ java - version
Unrecognized option: -
Could not create the Java virtual machine.
Garys-Mac-mini:STICK Gary$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
Garys-Mac-mini:STICK Gary$

And it is this that has me scratching my head.   

How do I have java version "1.6.0_65" in a terminal window, in the STICK directory when I just installed Java V8?






*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #15 on: 10 / December / 2016, 04:01:00 »
Gary - there are more instructions on removal here. I suggest you try them. Good luck!


Dave
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #16 on: 10 / December / 2016, 12:11:37 »
I de-installed all the Apple flavours of Java, installed the 8.111 runtime and SDK.
That got STICK working for me.

Then I reinstalled Java 6 legacy to support Harmony Remote software and re-tested.
Both STICK and Harmony are playing nice now.

Thanks for the assistance.

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #17 on: 10 / December / 2016, 12:20:56 »
Glad to help - sorry it took so long!


Dave
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics


SimplePortal © 2008-2014, SimplePortal