Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 20:53:19 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Chuck Tuffli <chuck@tuffli.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: help debugging Oracle Java error
Message-ID:  <20160916175319.GA16990@chd.heemeyer.club>
In-Reply-To: <CAM0tzX2usMfge5o1O--bYZW6UbDYETt6i7_V5ihd2uNdp0LgSw@mail.gmail.com>
References:  <CAM0tzX2usMfge5o1O--bYZW6UbDYETt6i7_V5ihd2uNdp0LgSw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 16, 2016 at 10:31:24AM -0700, Chuck Tuffli wrote:
> What's the best way to go about debugging a failure with a Java
> application using the Linux JDK provided by Oracle? The application in
> question uses the gradle wrapper (i.e. gradlew) to run, but throws an
> java.io.IOException error ("Too many levels of symbolic links"). Note
> that this runs fine on Ubuntu so the assumption is the error is
> related to some interaction with the Linux emulation. The JDK comes
> from an RPM provided by Oracle and was installed using the rpm2cpio
> method shown in the Handbook. Running JEdit with the Oracle JDK works
> without error. TIA.
> 
> --chuck
> 
> $ uname -mrsv
> FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #8 a212210(drm-next-4.7):
> Tue Sep  6 12:20:35 UTC 2016
> root@gauntlet:/usr/obj/usr/src/sys/GENERIC  amd64
> $ pkg which /compat/linux/bin
> /compat/linux/bin was installed by package linux_base-c7-7.2.1511
> $ export JAVA_HOME=/compat/linux/usr/java/jdk1.8.0_101
> $ $JAVA_HOME/bin/java -version
> java version "1.8.0_101"
> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
> Java HotSpot(TM) Server VM (build 25.101-b13, mixed mode)
> $ ./gradlew tasks
> 
> FAILURE: Build failed with an exception.
> 
> * What went wrong:
> java.io.IOException: Too many levels of symbolic links
> 
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info
> or --debug option to get more log output.

please, do
ktrace -di ./gradlew tasks
then
kdump -HAR -m 64 > gradlew.out
then send to me gradlew.out




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160916175319.GA16990>