Skip to content
New issue

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

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

Already on GitHub? # to your account

Add feature to specify additional JVM command line options #231

Open
schiebel opened this issue Jul 11, 2016 · 1 comment
Open

Add feature to specify additional JVM command line options #231

schiebel opened this issue Jul 11, 2016 · 1 comment

Comments

@schiebel
Copy link

There seems to be no way to specify jvm executions options. I am trying to add "-Dconfig.file=/Users/myhome/reference.conf" to the JVM options for the worksheet so that I can experiment with Akka within the worksheet. Without some explicit direction to a Akka conf file, I get:

com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka'

When I try to create an actor system:

  • import akka.actor.ActorSystem
  • val system = ActorSystem("workspace")

I realize Akka is not a great fit for a worksheet, but this problem should exist even for applications that just use Typesafe's config apparatus. Is there a way to specify VM flags for worksheet execution? If not, could this option be added?

@dragos
Copy link
Member

dragos commented Oct 18, 2016

No, there isn't such a way yet. I don't think it's particularly hard to do.

@dragos dragos changed the title akka, worksheet and vm options Add feature to specify additional JVM command line options Oct 18, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants