OpenJDK

Tomcat介绍 安装jdk 安装Tomcat

Deadly 提交于 2019-11-26 22:10:25
6月26日任务 16.1 Tomcat介绍 16.2 安装jdk 16.3 安装Tomcat 扩展 java容器比较 http://my.oschina.net/diedai/blog/271367 http://www.360doc.com/content/11/0618/21/16915_127901371.shtml j2ee、j2se、ejb、javabean、serverlet、jsp之间关系 http://bbs.csdn.net/topics/50015576 tomcat server.xml配置详解 http://blog.csdn.net/yuanxuegui2008/article/details/6056754 tomcat常用数据库连接的方法 http://wjw7702.blog.51cto.com/5210820/1109263 Tomcat介绍 LNMP架构针对的开发语言是PHP语言,php 是一门开发web程序非常流行的语言,早些年流行的是asp,在Windows平台上运行的一种编程语言,但安全性差,就网站开发人员就开始转到php,而且php相对的比较安全 java是一门比较庞大的开发语言,不仅可以开发建站,也可以开发大型软件工具和游戏 Tomcat介绍 Tomcat是Apache软件基金会(Apache Software Foundation

How do I update the timezone information for the OpenJDK?

独自空忆成欢 提交于 2019-11-26 21:35:52
问题 How do I update the timezone information for the OpenJDK? Oracle puts out tzupdater but that is bound by their license so I don't want to use it. I'm looking for an open source alternative that will allow me to just update the timezone information and not the entire JRE. 回答1: Azul recently published an open source tool to update TZ data: https://www.azul.com/products/open-source-tools/ziupdater-time-zone-tool/ It works similar to Oracle tzupdater, but has open source (GPLv2 License) license.

OpenJDK availability for Windows OS

我是研究僧i 提交于 2019-11-26 21:21:59
Is there any OpenJDK version available to Windows OS? From the OpenJDK home page ( http://openjdk.java.net/ ) it redirects to Oracle Sun JRE for Windows machine. Is there any existing OpenJDK available to Windows? If yes, where to get it? If not, do we have to build it by ourselves (see http://blogs.oracle.com/poonam/entry/building_openjdk_on_windows ) You may find OpenJDK 6 and 7 binaries for Windows in openjdk-unofficial-builds github project. Update: OpenJDK 8 and 11 LTS binaries for Windows x86_64 can be found in ojdkbuild github project. Disclaimer: I've built them myself. Update (2019):

Where is the src.zip for JDK8u40?

强颜欢笑 提交于 2019-11-26 20:39:36
问题 I installed the JDK8u40, but only find the javafx-src.zip. Where can I find the source code for JDK? The src.zip? Below is what I get after installation: And btw, I didn't see the installation wizard! This is quite strange. ADD 1 Today I tried several Java installation packages. All are downloaded from Oracle official site. jdk-6u45-windows-i586.exe jdk-7u75-windows-i586.exe jdk-8u20-windows-i586.exe jdk-8u25-windows-i586.exe jdk-8u31-windows-i586.exe jdk-8u40-windows-i586.exe Both 6u45 and

How to change maven java home

徘徊边缘 提交于 2019-11-26 19:58:25
问题 I want to change maven java home which is open jdk with sun jdk. How can I do it ? root@ak-EasyNote-TM98:~# mvn -version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: tr_TR, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-34-generic", arch: "amd64", family: "unix" Edit: So sorry. I forgot to write the below code : root@ak-EasyNote-TM98:~$ java -version java

What's the location of the JavaFX runtime JAR file, jfxrt.jar, on Linux?

回眸只為那壹抹淺笑 提交于 2019-11-26 19:55:35
问题 I'm trying to run some JavaFX code with Eclipse Kepler, with e(fx)clipse plugin installed, on a Linux machine, using: java version "1.7.0_21" OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) My understanding is that although JavaFX has been included with the standard JDK since version JDK 7u6, the JavaFX runtime JAR file, jfxrt.jar, was left off of the Java runtime path on purpose until further testing between JavaFX and rest of

Why use 1<<4 instead of 16?

ぃ、小莉子 提交于 2019-11-26 18:34:45
问题 The OpenJDK code for java.util.HashMap includes the following line: static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16 Why is 1 << 4 used here, and not 16 ? I'm curious. 回答1: It's to emphasize that the number is a power of two, and not a completely arbitrary choice. It thus alerts developers experimenting with different numbers that they should use other numbers in the pattern (e.g., 1 << 3 or 1 << 5 , rather than 20 ) so they don't break the methods which rely on the power of two

openjdk:8u22-jre-alpine在java开发中的NullPointerException错误解决方案

末鹿安然 提交于 2019-11-26 17:34:47
问题描述 ** 在SpringBoot项目中使用了Ureport报表组件, 打包发布部署到docker中启动报错 ** java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) at sun.awt.FontConfiguration.init(FontConfiguration.java:107) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774) at sun.font.SunFontManager$2.run(SunFontManager.java:431) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<init>(SunFontManager.java:376) at sun.awt.FcFontManager.<init>(FcFontManager

ECDHE cipher suites not supported on OpenJDK 8 installed on EC2 Linux machine

帅比萌擦擦* 提交于 2019-11-26 11:10:29
问题 When starting jetty-distribution-9.3.0.v20150612 with openjdk 1.8.0_51 running on an EC2 Amazon Linux machine, is prints that all configured ECDHE suites are not supported. 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 not supported 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 not supported 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

ubantu16 配置jdk8

Deadly 提交于 2019-11-26 09:16:10
Java JDK在linux系统有两个版本,一个开源版本Openjdk,还有一个oracle官方版本jdk,oracle JDK既可以通过添加ppa源命令行安装,也可以去官网下载jdk压缩包安装. 下面提供我觉得最简单的安装openjdk方式: 1、更新软件包列表: sudo apt-get update 2、安装openjdk-8-jdk: sudo apt-get install openjdk-8-jdk 3、查看java版本,看看是否安装成功: java -version 来源: https://blog.csdn.net/bei_FengBoby/article/details/98773643