1. Install JDK
1.1, to the official website to download the relevant JDK, download here is the jdk-6u23-linux-i586.bin.
Website: http://www.oracle.com/technetwork/java/javase/downloads/index.html
1.2 create a "Java folder" in the "Administrator personal folder" (I .e., location-> main folder-> administrator );
Place the downloaded jdk-6u23-linux-i586.bin in this Java folder.
(The path can be modified according to your actual situation. Here we use the Java folder under administrator as an examp
Config JRE for openoffice3.0
If you use OpenOffice to parse Word files, you know that JRE needs to be configured. The general practice is as follows:
Start OpenOffice
Select Tools --> options
Select the Java option under OpenOffice.org
Select the appropriate JRE, click OK, and restart OpenOffice, for example:
Problem:
OpenOffice's default
Some friends may encounter problems when starting tomcat.1. For example, after manually clicking startup. bat2. For example, run startup. bat in the bin directory of Tomcat under cmd, and output java_home shocould point to a JDK not a JRE, or the java_home environment variable cannot be found.Okay, come with me and help you solve this problem. I downloaded Tomcat 6.0, decompressed the Vista flagship operating system, went to the bin directory, and cli
When compiling with Maven under Eclipse, the following error is most likely to occur:Please ensure your is using JDK 1.4 or above andA JRE (the Com.sun.tools.javac.Main class is required).Make sure that you are using JDK 1.4 or lateris not a JRE (Com.sun.tools.javac. The main class is required). //Cause: Eclipse defaults to using the JRE as the running environmen
Classic error reproduction-> Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to, jdkjre
The error code is as follows:
Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run STS, No Java Virtual machine was found after searching the following locations: running in your current PATH
Solution: According to the error, we fou
Upgrade versions of each JDK include odd and even versions, such as Java 8 update 8u73 and Java 8 update 8u74. Which version should I choose?Production environment Selection 8u73, test environment optional 8u74;Each release has a odd (CPU) and an even (PSU) number. So in this case, the CPU (critical fixes) and the (Critical plus non-critical fixes)General recommendation from Oracle in a production environment are to use the CPU releases and start testing the PSU Releas E in your test environment
Ubuntu solves the problem that Eclipse requires JRE. First, we recommend that you copy the eclipse folder to ../usr/local, because it seems to be a folder dedicated to storing software. Open the terminal and enter the command ../usr/local/eclipse-vm/usr/java/jdk1.5.0 _ 09/bin/java to open eclipse. Finally, you need to configure the eclipse JRE. Otherwise
Ubuntu solves the problem that Eclipse requires
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a..., compilera ..
Use Maven-build in maven to debug the project locally. After the project is started, the following error message appears on the console:
[ERROR] Failed to execute goal org. apache. maven. plugins: maven-compiler-plugin: 3.1: compile (default-compile) on project XXXX: Compilation failure
[ERROR] No compiler is provided in this environment. Perha
1. JRE version is officially released by oracle server jre 72008,: http://download.oracle.com/otn-pub/java/jdk/7u21-b11/server-jre-7u21-linux-x64.tar.gz? AuthParam = 1369042105_ccb07d81f8301455441aae96ff455be1.
2. Upload the jre to the user root directory.
3. decompress the compressed package
Tar-xzf server-
Application Scenarios:I developed an application that was carved into a CD with the JRE and provided to the user that the user simply double-clicks the batch file to run without needing to install the JRE himself.The directory organization structure is as follows:Client|-images|-jre|-lib|-myapp.jar|-appsettings.properties|-start.batThe contents of the batch file.
First, download eclipse for JEE1. Baidu Search Eclipse for JEE
If the official website download is too slow, here to share the Baidu network disk downloadBaidu Network Disk Download:(64-bit)Http://pan.baidu.com/s/1slxsKLvSecond, install Eclipse for JEE
After the download is a. zip format of the compressed package, extracted after the file directory is as follows:
Create a desktop shortcut
Once created, you can see the Eclipse icon on your desktop
Install the JDK in ubuntu12.04, then set up the environment variables, and then continue to install the ADT bundle.It's okay to start eclipse in Eclipse when the endpoint enters the ADT bundleHowever, an error occurred when Eclipse started eclipse from the graphical interface into the ADT bundle, as follows:A Java Runtime Environment (JRE) or Java development Kit (JDK)Must is available in order to run Eclipse. No Java Virtual Machinewas found after se
Tomcat---------This question is quite common. The main is. Java_home should point-a JDK not a JRE Baidu a bit, found there are many solutions. Some of them can be done. Vary.Here to say, think more effective way. ----------Java_home should point to a JDK not a JREThe first thought relates to the java_home. So cmd. Inputif not exist "%jre_home%\bin\java.exe" Echo no JRE javaReturn result: No
Many friends may be like me, have been using Java development for a long time, but the JDK,JRE,JVM of these three links and differences, has always been vague.
Today's close-up of this article, to organize the next three relations.
Jdk:java Development ToolKit (Java Developer Toolkit). The JDK is the core of the entire Java system, including the Java Runtime Environment (Java Runtime envirnment), a stack of Java tools (Javac/java/jdb, and so on) and
Today, because a web-based SSLVPN needs to use the Java environmentSudo apt-get install sun-java6-jreSome simple options need to be configured during the download process. Because the terminal cannot press enter to confirm, the terminal will be there. I did not expect the NIC to be unavailable after the startup.If you want to reinstall the package, you cannot install the package. I thought it was apt-get that was not released to lock, so I deleted the/var/cache/apt/archives/lock file.Or invalid.
Error messageerror:failed to get JRE version.Check that your PATH environment variable contains Warning:extension Java_int.dll reports error-1 on call to function Extperprocessinitialize [msgid:mwar-10485]Error:thread Context:call to service of the driver failed, reason-thread Context wasn ' t initialized on this Thread. [msgid:merr-10176]Workaround:Run virtual User Generator as AdministratorLoadRunner Run Javavuser error failed to get
The JRE is not a found in directory c:\progra~1\java\jdk1.6.0_20. (Java_home)Please edit your environment and set the Java_homevariable to the root directory of your Java installation.Please press any key to continue ...When you see this field when you start WebLogic, it means WebLogic can't find and access your JDK. If you already have a JDK installed, then you need to do the following:You need to modify the setdomainenv.cmd file in domain to modify
Sun-java6-jre and sun-java6-jdk software source-Linux general technology-Linux technology and application information, the following is a detailed reading. # Shanghai Jiao Tong University server update:
Deb http://ftp.sjtu.edu.cn/ubuntu/ karmic main multiverse restricted universe
Deb http://ftp.sjtu.edu.cn/ubuntu/ karmic-backports main multiverse restricted universe
Deb http://ftp.sjtu.edu.cn/ubuntu/ karmic-proposed main multiverse restricted universe
Reinstall the system, the installation of the Java environment is gone, can only be re-installed ~ ~ ~1. Download the JDK2. This will be installed two times, where the first installation of the JDK, the second installation of the JRE, we recommend that you do not put these two in the same folder.3. Configure Environment variablesRight-click My Computer, select Properties, Advanced, environment variables, user variables (Configure environment variables
Jre/binTool Description:Javac:java compiler, change Java source code to byte generationJava:java interpreter that executes Java application code directly from a class fileAppletviewer (Applet browser): A Java browser that executes a Java applet class on an HTML fileJavadoc: HTML document generated from Java source code and its description statementJdb:java debugger, which executes the program, sets breakpoints, and examines variables line by rowJavah:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.