Some questions on jshell
germano.carella at gmail.com
germano.carella at gmail.com
Fri Nov 4 12:16:01 UTC 2016
Hi to all,
I’m Germano from Italy.
I started java 9 experience and I downloaded last release (jdk-9 142) from java.net.
Now, i started jshell to try some java statemente.
All works correctly, so I read some sample from internet to learn java.
I notice that many samples use sun.* classes, but jshell won’t import them.
I am able to show sun.* classes but I cannot import anything.
It is normal? There is a way to import sun.* classes or there are obsolete?
An other question: I read I can create modules. I tried simple example and I created a jmod file that I copied in my own directory.
Does jshell import these modules? I seen java has jmods directory, but I cannot use these jmods files.
There is variable can I set to import jmods in jshell?
I did not find documentation on how to use jmods in jshell.
Thanks for answer,
Germano
Inviato da Posta per Windows 10
More information about the kulla-dev
mailing list