Hi, It is an issue with java 9 because "JDK 9 disables access to many of the javax.* APIs by default."[1][2]
[1] https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-F7696E02-A1FB-4D5A-B1F2-89E7007D4096 [2] https://github.com/javaee/javamail/issues/266 Regards, Riyafa On 3 November 2017 at 21:02, Ian Maxon <[email protected]> wrote: > Java 9 doesn't work at all for some reason, Mike B found this out and > mentioned it at some point when he was trying it (out of curiosity?). > > On Fri, Nov 3, 2017 at 6:48 AM, Till Westmann <[email protected]> wrote: > > We’re only testing AsterixDB on Java 8, so running on Java 9 is > uncharted territory. > > > > Here it seems that a class is missing from the class path. This class is > probably available in JRE 9, but maybe not on the default class path. > Somebody with more Java 9 exposure than I had would probably know ... > > > >> On Nov 3, 2017, at 06:26, Michael Carey <[email protected]> wrote: > >> > >> Q: Any ideas what might be happening to this UW student user? > >> > >> > >> > >> -------- Forwarded Message -------- > >> Subject: Activity Digest since 11:52PM for CSEP 544 on Piazza > >> Date: Fri, 03 Nov 2017 08:12:05 +0000 (UTC) > >> From: CSEP 544 on Piazza <[email protected]> > >> To: [email protected] > >> > >> > >> > >> Your email preferences are currently set to a 2-hour Auto Digest, so > you'll receive at most one email every 2 hours. You can customize your > email preferences from your Account Settings page in the top right of your > dashboard. > >> > >> Here's what has happened in CSEP 544 on Piazza: > >> > >> ------------------------------------------------------------ > ------------ > >> *AsteriskDB installation or startup problem* /11/02/17 11:52 PM/ > >> > >> I can't get AsteriskDB to run on my MacBook Pro running High Sierra; > >> java --version says: > >> java 9.0.1 > >> Java(TM) SE Runtime Environment (build 9.0.1+11) > >> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) > >> > >> When I run the start script, I get this: > >> INFO: Waiting up to 30 seconds for cluster 127.0.0.1:19002 to be > available. > >> INFO: Cluster 127.0.0.1:19002 was not available before timeout of 30 > seconds was exhausted; check logs for more information > >> > >> In cc.log, I see this: > >> INFO: Starting Asterix cluster controller > >> Exception in thread "main" java.lang.NoClassDefFoundError: > javax/activation/DataSource > >> at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.( > RuntimeBuiltinLeafInfoImpl.java:457) > >> at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.( > RuntimeTypeInfoSetImpl.java:65) > >> > >> Click here <https://piazza.com/class?cid=j9jjlk5bc65rj&nid= > j7o1ieonolt3sv&token=9NThYXn2mS3> to view. > >> Click here to respond via email <mailto:[email protected]? > subject=RE:%20AsteriskDB%20installation%20or%20startup% > 20problem&body=%0A%0A%0ACSEP%20544%20on%20Piazza%20%28%72% > 65%70%6C%79%40%70%69%61%7A%7A%61%2E%63%6F%6D%29%20Reply% > 20above%20this%20line.%20%0A%68%74%74%70%73%3A%2F%2F%70%69% > 61%7A%7A%61%2E%63%6F%6D%2F%63%6C%61%73%73%3F%63%69%64%3D%6A% > 39%6A%6A%6C%6B%35%62%63%36%35%72%6A%2F%6E%69%64%3D%6A%37%6F% > 31%69%65%6F%6E%6F%6C%74%33%73%76%2F%74%6F%6B%65%6E%3D%39%4E% > 54%68%59%58%6E%32%6D%53%33%0A--> > >> > >> ------------------------------------------------------------ > ------------ > >> > >> ------------------------------------------------------------ > ------------ > >> > >> Tell a colleague about Piazza. It's free, after all. > >> > >> > >> Thanks, > >> The Piazza Team > >> -- > >> Contact us at [email protected] > >> > >> You're receiving this email because [email protected] is enrolled in > CSEP 544 at University of Washington. Sign in <https://piazza.com/login> > to manage your email preferences or un-enroll <https://piazza.com/remove/ > 9NThYXn2mS3/j7o1ieonolt3sv> from this class. > >> If you already have a Piazza account under another email address, link > [email protected] to that account here <https://piazza.com/link_ > accounts/9NThYXn2mS3>. > > > -- Riyafa Abdul Hameed Undergraduate, University of Moratuwa Email: [email protected] Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa> <http://twitter.com/Riyafa1>
