Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a (maybe hidden) option to specify the used java binary #2

Open
mlindauer opened this issue Jun 2, 2015 · 5 comments
Open

add a (maybe hidden) option to specify the used java binary #2

mlindauer opened this issue Jun 2, 2015 · 5 comments

Comments

@mlindauer
Copy link
Collaborator

this is also relevant for pysmac/pysmac/init.py

@sfalkner
Copy link
Owner

sfalkner commented Jun 2, 2015

I don't think this is really necessary. You could specify which binary the command 'java' calls on the command line via an alias. This gives you full control, and you could even specify additional parameters to java that way. You could also create a symlink in the directory where you start SpySMAC. IMHO, these two options are flexible enough. What do you think?

@mlindauer
Copy link
Collaborator Author

Hi,

I tried both of our ways.
The alias does not work. I suspect the reason is that you don't execute smac via shell.
Naively using a symlink failed also, because it depends on the PATH variable. If PATH does not begins with "." (which is not the case by default), it will first use the system installed java. So I had to first modify my PATH variable to use the symlink... very hacky

@sfalkner
Copy link
Owner

sfalkner commented Jun 3, 2015

Fair point. It all depends on the cluster setup. It would have to be integrated into pySMAC, so could you please open an issue there as well? Thanks.

@mlindauer
Copy link
Collaborator Author

funny ;-)
there is no issue tracker for pySMAC. coincidence?

@sfalkner
Copy link
Owner

sfalkner commented Jun 3, 2015

Not on purpose. I added one, so go crazy :)

On 06/03/2015 03:17 PM, mlindauer wrote:

funny ;-)
there is no issue tracker for pySMAC. coincidence?


Reply to this email directly or view it on GitHub
#2 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants