JavaFXSupportsForJShell icon indicating copy to clipboard operation
JavaFXSupportsForJShell copied to clipboard

Importing an application

Open Koire opened this issue 7 years ago • 2 comments

How can I use this in a current JavaFx Application?

Koire avatar May 18 '17 05:05 Koire

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

bitterfox avatar May 18 '17 11:05 bitterfox

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)

Koire avatar May 18 '17 23:05 Koire