Skip to content

Importing an application #7

Open

Description

@Koire

How can I use this in a current JavaFx Application?

Activity

  1. bitterfox commented on May 18, 2017

    @bitterfox
    Owner

    Hi Korie,
    I'm not sure whether I can catch your question correctly.

    If you want to use your JavaFX class in jshell, please give the classpath option to jfxshell.sh lie:

    sh scripts/jfxshell.sh --class-path ~/path/to/your/classes
    
  2. Koire commented on May 18, 2017

    @Koire
    Author

    I saw your presentation during the keynote on Java Day and you imported a demo class into your jshell, I have to tell my company about Java Day, and I thought mimicking your jshell demo is a great way to show something new. I will test the --class-path now
    (日本語でも大丈夫)
    --- EDIT ---
    I built my project, and added --class-path /path/to/main which has the classes in subdirectories, but jshell is not detecting them. (main/app/*/*.class)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions