Oracle fusion middleware 12c weblogic installation window doesn't be shown automatically after extracting fmw_12.2.1.0.0_wls.jar file in cmd - weblogic12c

When I want to install oracle weblogic using fmw_12.2.1.0.0_wls.jar file in windows 10, the installation window doesn't be shown automatically and I just get this message in cmd : press any key to exit. why? How can I fix it?
This picture shows my problem:

Could be a problem with your java. Try downloading and installing Oracle's Java 8. FMW 12c is certified with Java 8 and runs best with Oracle's Java - JDK/SDK to be specific. Openjdk is not certified and won't work for an install.
Could also be an issue with your X display. Ensure that you have the display variable correctly set and a Xhost client running. Test your X display with another program to verify functionality. If you have X issues, try unsetting the DISPLAY variable and have it run the character based installer.

Related

How do I set the JDK in Oracle SQL Developer

Downloaded the Oracle XE and Oracle SQL Developer to my home computer (Windows) to learn PL/SQL. I use PL/SQL Developer at work but never set it up.
I downloaded the Oracle SQL Developer and all went well with the download. Got it working in the application view but when trying to run the sqldeveloper.sh I get errors showing up on the screen. The error reads:
The JDK 'C:Program' is not a valid JDK
The JDK specified by the SetJavaHome directive in
/c/../../.sqldeveloper/21.1.4.1/product.conf
Type the full pathnmae of a JDK installation (or Ctrl-C to quit), the path will
be stored in /c/../../.sqldeveloper/21.1.4.1/product.conf
I opened the product.conf file and added:
SetJavaHome C:\Program Files\Java\jdk
and did not work, so changed the directives from '' to '/'
SetJavaHome C:\Program Files\Java9.0.4\jdk
and still does not work. I even uninstall the version I downloaded first with without the jre and downloaded and installed the version that came with the jdk 8. I read through the post on stackoverflow and tried the solutions but nothing.
Please help
A couple of items to note:
To launch SQL Developer in Windows, you will want to launch sqldeveloper.exe, not sqldeveloper.sh
When you go to the SQL Developer Downloads, if you download Windows 64-bit with JDK 8 included you will not need to specify the path to your Java installation because it will come bundled with the installation.
If you choose to download Windows 32-bit/64-bit, you will then be prompted for the path to your JDK home when you first launch SQL Developer so you do not need to edit any configuration files or environment variables.

Automiating Oracle SQL Developer Installation

When installing Oracle SQL Developer (after having already installed Java JDK), the first run of Developer requests to "Please specify the path to the Java JDK home".There are no problems selecting the JDK folder manually, however I am wanting to automate this part of installation/initial start-up.
Setting Environment Variables JAVA_HOME and/or PATH to the JDK location (or the bin folder) does not alleviate the dialogue.
Is there a way to automate the selection of the JDK folder during installation / before first run of Oracle SQL Developer?Otherwise is there a location, the value input into this dialogue is stored?
According to this post, it appears that as of Oracle SQL Developer Version 4, "...to accommodate shared Windows machines, we now look into the roaming profiles directory in the Application Data folder". By running a batch file to edit / automate writing the installed Java path into this file, it is possible to automate the initial dialogue box (well, make it disappear).

Cant install java 8 on window server by chef-solo

I use cookbooks from https://supermarket.chef.io/cookbooks/java
The code runs on Centos 6, but it doesn't run on windows server.
I get this ERROR
No download url set for java installer
URI::invalidURIError
bad URI(is not URI)
For Windows, you have to provide the Java installation file yourself, i.e. download the installer and put it somewhere locally. Then set node['java']['windows']['url'] to point to the file.
The documentation explains why this is necessary - basically there's no simple way to download the java msi programmatically from Oracle's website.

Cannot start Weblogic Server from Eclipse

I'm using Eclipse Kepler with Oracle Weblogic Tool plugin and I faced with this problem:
Trying to starting WLS server (both in Run/Debug mode) the process hangs at 23%.
It seams that Eclipse does not run startWeblogic.cmd file. I put into this cmd an instruction (as first instruction) that creates a tmp file on the fly, in order to understand if Eclipse is able or not to run the .cmd file.
Well, the file is not created. No possibility to:
Stop the process
Remove the Server from the list
OS: Win 7 64bit
Eclipse: any version (I tried also with Kepler)
WLS: 10.3.4
Any suggestion?
I found the solution by my self.
Qualcomm Atheros AWiC Diagnosiccs utility blocks the CMD. After that I killed the process (AWiCDiag,exe - I noted that it eat up 3.5 GB of memory) automagically Starting WLS process reached 100% in few second.

JavaFX exe bundling for x86 windows systems

usually I deploy my Java apps as a bundle which contains the JVM, so there's no need to install a JVM on the system.
Btw: This is no jnlp applet, this is a normal Swing Application.
I did this using ant's fx:deploy. This already works for 64bit systems.
My problem is, that I want to deploy this application to a 32bit system and don't get it to work.
Here's what I did:
I've set up a clean Windows 7 (32bit) instance and installed a 32bit JVM. Now i ran my ant script to build a bundled Java app and it built a App.exe.
But when I tried to start this exe by double clicking, I get the following message box
If I click OK, I get another message box
After this the app is terminated.
I did not find anything searching the web relating to bundling for 32/64 bit systems.
So I would be very glad if someone can point me in the right direction.
Many thanks in advance!
Greetings, -chris-
Looks like a known bug fixed for an upcoming JavaFX version (currently known as 2.2.40):
RT-25715 The Windows launcher generated by the packager fails to load msvcr100.dll on 32-bit OS
RT-22610 .exe created by fx:deploy can't be executed due to missing msvcr100.dll
On the bug case, the user mentions a work-around:
If I give a try to the workaround documented in RT-22610, which is to copy runtime\jre\bin\msvcr100.dll side to my application's launcher binary, it fixes it.
I think the bug is fixed in JDK 8, so another possible work-around is to download a JDK 8 early access release and use the packaging tools from there to package a Java 7 application (though I have never tried that and am not sure if it would work).
Just a small modification to #jewelsea's Fix:
copying msvcr100.dll into the app/ folder instead putting it right next to the exe also works, and at least it is somewhat hidden away then.
If you're generating an MSI you can hack the WXS file used by WIX to automatically copy msvcr100.dll into the app folder. Making FX Deploy verbose will tell you where it's putting the temporary WXS file you can copy and modify and use to override the WXS like you would the program icon for example.