Update web server from 12cr1 to 12cr2

I need to know how I can upgrade the Weblogic application server from version 1 to version 2. My OS is Windows 7 64 bit. I'm new to this, someone else installed weblogic, so I tried installing it myself, but it gives me an error

C: \ Users \ User \ Downloads> java -D64 -jar wls_121200.jar Extracting files ............................... ................................. ................. ................... This installer must be executed using the Java Development Kit (JDK) but C: \ Program Files \ Java \ jre7 is not a valid JDK. Oracle Universal Installer failed. Exit.

so I unpacked the jar with 7 zip, now running intaller - is this the right way?

+4
source share
5 answers

Using the command line, change to the directory where you downloaded the installer.

Run the installer by calling java -jar from the JDK directory on your system,

as shown in the following example:

\home\Oracle\jdk7_15\jdk1.7.0_15\bin\java -jar wls_121200.jar - be sure to replace \home\Oracle\jdk7_15\jdk1.7.0_15 - in this example, the JDK location on your system

+12
source

The only thing you need is to execute the installer using the jdk it needs. eg:

 "C:\Program Files\Java\jdk1.7.0_79\bin\java.exe" -jar wls_121200.jar 

I used java.exe from my jdk 7 folder instead of java installed on my computer.

In the folder with the weblogic flag does not matter.

+4
source

use the following command:

C: \ Softwares \ Weblogic12c> "\ Program Files \ Java \ jdk1.7.0_05 \ bin" \ java -jar fmw_12.2.1.0.0_wls.jar

C: \ Softwarewiki \ Weblogic12c> is the location of the jar file of the weblogic file.

"\ Program Files \ Java \ jdk1.7.0_05 \ bin" \ is the location of my jdk.

+1
source

It may happen that the bank does not accept JAVA_HOME or PATH variables that can be set in environment variables. In this case, you can install it manually in cmd. GOTO Run-> cmd. Then go to the folder where you placed your jar

C:\Users\User\Downloads>set JAVA_HOME=C:\Program Files\...\jdk1.8.0_112

C:\Users\User\Downloads>set PATH=C:\Program Files\...\jdk1.8.0_112\bin;%PATH% and then you can continue to execute the jar,

C:\Users\User\Downloads>java -jar wls_121200.jar

It worked for me! Hope it helps. Thanks.

0
source
  • Run as administrator Command line
  • Open the Weblogic Banner Directory
  • Run the java -jar command on the jar file:

    From a run-time variable (make sure it is set)

     java -jar wls_121200.jar 

    From a specialized catalog

     "C:\Program Files\Java\jdk1.7.0_79\bin\java.exe" -jar wls_121200.jar 
0
source

Source: https://habr.com/ru/post/1498732/


All Articles