Using a newer vm with PharoLauncher, platform differences
I wanted to use a newer vm with PharoLauncher, so I added a vms directory in /Users/stephan/Library/Application Support/Pharo/ and used curl get.pharo.org/vmLatest50 | bash to install it there. In PharoLauncher I then set the vm full path to either /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app/Contents/MacOS/pharo or /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app Neither works to launch an image (Mac 10.10.5). The similar procedure on Ubuntu 15.04 works (though the apt dependencies of SDL2/Cairo/Freetype:i386 are somewhat broken). What is the vm path supposed to be? Stephan
I could be wrong but since pharolauncher on macos is a mac app then you will need to change the vm inside the pharo.app folder, in pharo.app/Contents/MacOS On Thu, Nov 12, 2015 at 5:13 PM Stephan Eggermont <stephan@stack.nl> wrote:
I wanted to use a newer vm with PharoLauncher, so I added a vms directory in /Users/stephan/Library/Application Support/Pharo/ and used curl get.pharo.org/vmLatest50 | bash to install it there. In PharoLauncher I then set the vm full path to either /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app/Contents/MacOS/pharo or /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app
Neither works to launch an image (Mac 10.10.5). The similar procedure on Ubuntu 15.04 works (though the apt dependencies of SDL2/Cairo/Freetype:i386 are somewhat broken).
What is the vm path supposed to be?
Stephan
On 12/11/15 23:46, Dimitris Chloupis wrote:
I could be wrong but since pharolauncher on macos is a mac app then you will need to change the vm inside the pharo.app folder, in pharo.app/Contents/MacOS
PharoLauncher has a setting to use a different vm to start its images than the one it uses itself. I can get that to work on Ubuntu, but not on mac. Changeing the vm in pharo.app in Applications and leaving the vm path empty woudl be a workaround. Stephan
nice , I did not know that. Where is that setting located ? On Fri, Nov 13, 2015 at 3:09 AM Stephan Eggermont <stephan@stack.nl> wrote:
On 12/11/15 23:46, Dimitris Chloupis wrote:
I could be wrong but since pharolauncher on macos is a mac app then you will need to change the vm inside the pharo.app folder, in pharo.app/Contents/MacOS
PharoLauncher has a setting to use a different vm to start its images than the one it uses itself. I can get that to work on Ubuntu, but not on mac. Changeing the vm in pharo.app in Applications and leaving the vm path empty woudl be a workaround.
Stephan
On Thu, Nov 12, 2015 at 11:12 PM, Stephan Eggermont <stephan@stack.nl> wrote:
I wanted to use a newer vm with PharoLauncher, so I added a vms directory in /Users/stephan/Library/Application Support/Pharo/ and used curl get.pharo.org/vmLatest50 | bash to install it there. In PharoLauncher I then set the vm full path to either /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app/Contents/MacOS/pharo or /Users/stephan/Library/Application Support/Pharo/vms/pharo-vm/Pharo.app
Neither works to launch an image (Mac 10.10.5). The similar procedure on Ubuntu 15.04 works (though the apt dependencies of SDL2/Cairo/Freetype:i386 are somewhat broken).
What is the vm path supposed to be?
Stephan
I remember having some problems and worked out escaping spaces is important. So this works for me... /Users/ben/Library/Application\ Support/Pharo/vm/ pharo-mac-stable-vm/Contents/MacOS/Pharo ...but thinking further on this, its non-obvious and we should make this easier - ideally using a file selection dialog. cheers -ben
On 13/11/15 15:41, Ben Coman wrote:
I remember having some problems and worked out escaping spaces is important. So this works for me... /Users/ben/Library/Application\ Support/Pharo/vm/ pharo-mac-stable-vm/Contents/MacOS/Pharo
Ah yes, that works. Thanks.
...but thinking further on this, its non-obvious and we should make this easier - ideally using a file selection dialog.
Indeed, especially as the default location for PharoLauncher on mac is on a path with a space, in a directory that is hidden... Stephan
participants (3)
-
Ben Coman -
Dimitris Chloupis -
Stephan Eggermont