From user-return-7870-archive-asf-public=cust-asf.ponee.io@uima.apache.org Wed Feb 28 17:14:11 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A88B8180657 for ; Wed, 28 Feb 2018 17:14:10 +0100 (CET) Received: (qmail 47014 invoked by uid 500); 28 Feb 2018 16:14:09 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 46993 invoked by uid 99); 28 Feb 2018 16:14:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2018 16:14:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6C096C0040 for ; Wed, 28 Feb 2018 16:14:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EF_xykA4usCa for ; Wed, 28 Feb 2018 16:14:06 +0000 (UTC) Received: from gateway24.websitewelcome.com (gateway24.websitewelcome.com [192.185.51.110]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 582495F340 for ; Wed, 28 Feb 2018 16:14:06 +0000 (UTC) Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 02D9EB2C8 for ; Wed, 28 Feb 2018 10:14:06 -0600 (CST) Received: from gator3253.hostgator.com ([198.57.247.217]) by cmsmtp with SMTP id r4Mne9zS1iQI2r4MneikqE; Wed, 28 Feb 2018 10:14:06 -0600 Received: from [129.34.20.19] (port=29927 helo=[9.2.55.8]) by gator3253.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1er4Mn-000hB9-D9 for user@uima.apache.org; Wed, 28 Feb 2018 10:14:05 -0600 Subject: Re: Running bin files from UIMA_HOME bin directory To: user@uima.apache.org References: From: Marshall Schor Message-ID: Date: Wed, 28 Feb 2018 11:14:05 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3253.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source-IP: 129.34.20.19 X-Source-L: No X-Exim-ID: 1er4Mn-000hB9-D9 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([9.2.55.8]) [129.34.20.19]:29927 X-Source-Auth: msa+schor.com X-Email-Count: 6 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yMzI1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes please try a java version 8, not version 9. There are known issues that pop up when running with Java 9 that haven't been worked on yet. Cheers. -Marshall On 2/27/2018 8:13 PM, Barbara Moloney wrote: > Hi Marshall > Thanks for your reply. > I am using Java version "9.0.4" which I have downloaded as the JDK from > Oracle at > http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk > > Also I am using Windows 7. > > Thanks > Barbara > > > > > > > > On 27 February 2018 at 05:23, Marshall Schor wrote: > >> Can you say what Java you're using? >> >> (Try the command java -version ) >> >> If it is not a mainline Java, e.g., Oracle java or IBM java, please try >> one of >> those. >> >> >> -Marshall >> >> >> On 2/24/2018 1:56 AM, Barbara Moloney wrote: >>> Hi >>> I'm very new to UIMA and I'd like to run annotationViewer and others in >> the >>> bin directory. >>> Below is the output I'm getting, >>> >>> Exception in thread "main" java.lang.ClassCastException: >>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be >> cast to >>> java.base/java.net.URLClassLoader >>> at >>> org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader( >> UimaBootstrap.java:146) >>> at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74) >>> >>> >>> Any help appreciated >>> >>> Barbara >>> >>