Using a newer vm with PharoLauncher, platform differences

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Using a newer vm with PharoLauncher, platform differences

Stephan Eggermont-3
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


Reply | Threaded
Open this post in threaded view
|

Re: Using a newer vm with PharoLauncher, platform differences

kilon.alios
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 <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: Using a newer vm with PharoLauncher, platform differences

Stephan Eggermont-3
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



Reply | Threaded
Open this post in threaded view
|

Re: Using a newer vm with PharoLauncher, platform differences

kilon.alios
nice , I did not know that. Where is that setting located ?

On Fri, Nov 13, 2015 at 3:09 AM Stephan Eggermont <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

Re: Using a newer vm with PharoLauncher, platform differences

Ben Coman
In reply to this post by Stephan Eggermont-3
On Thu, Nov 12, 2015 at 11:12 PM, Stephan Eggermont <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: Using a newer vm with PharoLauncher, platform differences

Stephan Eggermont-3
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