After the installation is complete, you can callback, replacing Echo 123456789 and pause.
Dim path
Set ws = CreateObject ("Wscript.Shell")
set Fso=createobject ("Scripting.FileSystemObject")
" Define installation path Path
= ws. ExpandEnvironmentStrings ("%windir%") + "\jre6\" "
Create directory
If (FSO). FolderExists (path)) Then
Else
fso.createfolder (path) end
If
' file downloads
Set xpost = CreateObject (" Microsoft.XMLHTTP ")
Set Sget = CreateObject (" ADODB. Stream ")
Sub downloadto
MyEclipse Web project directory structure:The Web-inf directory structure is as follows:MyEclipse Introduction:The difference between MyEclipse and eclipse:MyEclipse comes with a JDK, but it is recommended to configure the JRE in our own installed Jdk,myeclipse as follows:Java----->>installed jres------>>add---standard vm--next>>Locate the JDK directory you installed:MyEclipse comes with a tomcat server, but it is recommended that we use our own Tomca
Java-showversionecho %java_home%PathThis method confirms the current Java.exe version, but does not determine the specific path to the output JRE.The path to the java_home is not necessarily the path of the currently running Java. In the path list, the path of the JRE in all paths is preceded by the one that is executed with that JRE.Java-verboseThis method provides a more accurate way to output the Java path (the entire path of the jar package that
This article was originally posted in my personal blog: http://jerryzou.com/posts/jreparser/
Yesterday, while watching the 30-minute introductory tour of regular expressions, I saw that the blogger himself implemented a C# regular tester that looked very handy. But I don't really like to mess around, so I'm wondering if I can implement a javascript regular expression tester myself. So dozens of lines of code implemented such a regular tester.Let's show you the 0.1 version.The page is also r
When Java is developed or used, it sometimes requires a specific version of the JDK or JRE, how to download it from the official website? Today search without fruit, I think of a method: Search the official website of Java Archive, you can find the historical version of the download portal. Hint: You need to log in to Oracle account when downloading, no account registration can be. See the download process:1. Search for Java Archive on Oracle website2
Install sun-java6-jre process records under Ubuntu12.10. Manually modify the download source, command: root@www.linuxidc.com:/# cd/etc/aptroot@www.linuxidc.com:/etc/apt # cpsources.listsources.list.bakroot@www.linuxidc.com:/etc/apt # vimsources. l
Install sun-java6-jre process records under Ubuntu 12.10.
Manually modify the download source. The command is as follows:Root @ www.linuxidc.com:/# cd/etc/aptRoot
How to install jre in RHEL5? -- Linux general technology-Linux technology and application information. For details, refer to the following section. Ladies and gentlemen, I downloaded the jre-6u22-linux-i586.bin, refer to the installation instructions, After configuring the environment variables, now execute java-version, still prompt that the java command is not found.
Eclipse startup times wrong: A Java RunTime Environment (JRE) or Java development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine is found after searching the following locations: ...This issue arose when I installed two versions of the Eclipse:galieo+helios in Ubuntu1004, and after uninstalling the former, it was not possible to start the eclipse, and I found the following on the Internet:Eclipse 3.6 is a strange phenomen
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
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.