You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/06/16 13:32:05 UTC

[jira] [Commented] (CRYPTO-66) Warnings compiling - bootstrap class path not set

    [ https://issues.apache.org/jira/browse/CRYPTO-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333771#comment-15333771 ] 

Sebb commented on CRYPTO-66:
----------------------------

CRYPTO-66: Fix compiling warning


Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/f4513247
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/f4513247
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/f4513247


> Warnings compiling - bootstrap class path not set
> -------------------------------------------------
>
>                 Key: CRYPTO-66
>                 URL: https://issues.apache.org/jira/browse/CRYPTO-66
>             Project: Commons Crypto
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Dapeng Sun
>
> The following appears in the build output:
> [exec] "$JAVA_HOME/bin/javac" -source 1.6 -target 1.6 -d target/jni-classes -sourcepath src/main/java src/main/java/org/apache/commons/crypto/random/OpensslCryptoRandomNative.java
> [exec] warning: [options] bootstrap class path not set in conjunction with -source 1.6
> This can be fixed by adding something like the following to Makefile:
> $(JAVAC) $(BOOT) -source 1.6 ...
> where
> BOOT_LIB:=$(JAVA_HOME)/jre/lib/rt.jar
> BOOT:=-bootclasspath $(BOOT_LIB)
> The BOOT variables should probably be defined in Makefile.common



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)