From owner-freebsd-questions@freebsd.org Thu May 12 16:25:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1C3AB37A0D for ; Thu, 12 May 2016 16:25:34 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87FA51832 for ; Thu, 12 May 2016 16:25:34 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: by mail-wm0-x22e.google.com with SMTP id a17so145272507wme.0 for ; Thu, 12 May 2016 09:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cordula-ws.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=sPupfyuwvXWdablZ+bOqiQAb1MtWaGohcMKQCPjR70U=; b=TkoKqsFE0eZSCqK+VFcylyX2heYNfKdKXBqob5OWJ3NVNbU1Rvut6qEgD6R//8BbSe b5+8I/SqqjU5Ryvmd8bEmHTSPL8GCgYb1v+WU36Cedw/1oNWaroPvR+VlAVbu6ApHzh8 xyRyTCO8ZSqFVKe3ZbJ9IzQMsBc/I+7tMztVgKTimP0WzGjl87M82uxGBgVGECzWBNr8 ZryK8ggHORnPDrq83RQYNAWic7+JbzBCbiuunZeG5D6TuU8vFivShLvLz6n4SN/CbFzw lRFdfEqrfjjN4U+hj1i1jlJ6yB03b/I1mavZAwPTz1LM1QYJ/xEipWrvi7i7euITBbiY VCcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=sPupfyuwvXWdablZ+bOqiQAb1MtWaGohcMKQCPjR70U=; b=F3u7bId1VL3Y2xVOwWn42r+07pv3Yg8XNQuJ/pnJvYMkLG31ltNgIQCGMrRpXkuiZP RvPsrjmFxeLW4lUgvT5zUCP9Dlqt7PVD6rDYlHCUBpBDBP89xux2WHM9B4u4CXwIZqv1 sACoSHwtV2RYpmQ7RQloPaf2fCLnU8Aam4tSo8wQizukgPl/w4PzSR8YhSOkNOqCo0GJ +tQlLgM8wq4L41AmR78n9RfHoguNFH7qA1Fh9BRrASQBBhw044+aWYxCQfindH3Dwg58 PP/Vw9zjYTgOJsrylcCHbUi3mHjSV6MCJUW7gJ+4kCRvNuRkvCgt+gbAb1JL/Ax7VNef Nrwg== X-Gm-Message-State: AOPr4FVjuhwodIfFW8x4b7O5pDE5qJVLHkaI10PkcuAabujLGD56D6E7H7xjd+KSnZDTCg== X-Received: by 10.194.172.228 with SMTP id bf4mr10856722wjc.123.1463070333174; Thu, 12 May 2016 09:25:33 -0700 (PDT) Received: from phenom.fritz.box (p54ACAEFC.dip0.t-ipconnect.de. [84.172.174.252]) by smtp.gmail.com with ESMTPSA id m140sm41863320wma.24.2016.05.12.09.25.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 May 2016 09:25:32 -0700 (PDT) Subject: Re: Java JRE/JDK for FreeBSD? To: Norbert Raimund Leisner References: <1245383132.240643.1463028248731.JavaMail.ngmail@webmail10.arcor-online.net> <81cc0661-0320-ccf4-8df0-ad344355e15f@cordula.ws> Cc: freebsd-questions@freebsd.org From: cpghost Message-ID: Date: Thu, 12 May 2016 18:25:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <81cc0661-0320-ccf4-8df0-ad344355e15f@cordula.ws> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 16:25:35 -0000 On 05/12/16 18:12, cpghost wrote: > On 05/12/16 06:44, Norbert Raimund Leisner wrote: >> Hello support-team, hello Roman, >> >> on the Oracle website http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html >> I didnīt find a suitable FreeBSD package there for Java. > > Hello Norbert, > > if you can live with OpenJDK 8, just install the port > java/openjdk8 and you're all set. > > You may also want to install an IDE, like java/eclipse > or java/intellij to ease development. Both run just fine > with OpenJDK8: > > $ uname -a > FreeBSD phenom.fritz.box 10.3-STABLE FreeBSD 10.3-STABLE #0 r299381: Tue May 10 21:34:52 CEST 2016 root@phenom.fritz.box:/usr/obj/usr/src/sys/GENERIC amd64 > > $ java -version > openjdk version "1.8.0_77" > OpenJDK Runtime Environment (build 1.8.0_77-b03) > OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode) I just forgot to add that because of the java VM wrapper that enables one to install many Java implementations side-by-side on the same machine, you need to set those environment variables in your shell profile before you can invoke "java" and "javac": $ printenv | grep JAVA JAVA_VERSION=1.8 JAVA_VENDOR=openjdk Good luck, -cpghost -- Cordula's Web. http://www.cordula.ws/