• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java_Home jdk is not valid jdk

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys, I try to install weblogic in windows.Firstly I installed 8u91 and I tried to extract wls.jar file in prompt screen --> java -jar wls12.1.2.jar but system said that jdk is not valid jdk.
I added java_home-->C:/../../jdk/bin and path with same method and I restarted but it didnt work.

After all my tries I uninstall jdk8u91 and I tried with 8u40 and 7u60 jdks but results same jdk is not jdk.(When I check the jdk in prompt like java -version.I reaching but when I try to extract wls.jar file nothing happen)

I tried lots of combination in java_home and path variables. like C:..../bin/java, C:..../bin/java.exe, C:..../jdk/,C:/PROGRA~1/jdk but still same error.Can you help me guys ty
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JAVA_HOME doesn't point to the JDK bin directory, it points to the JDK root directory (the parent of the bin directory). So you're off by 1 level.

In a *n*x OS environment, these are the common environment definitions used to setup a shell's runtime environment.


For Red Hat OS's "/somewhere" is /usr/java when you're installing the Oracle RPM or just want to use the standard convention.
 
dylan payne
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:JAVA_HOME doesn't point to the JDK bin directory, it points to the JDK root directory (the parent of the bin directory). So you're off by 1 level.

In a *n*x OS environment, these are the common environment definitions used to setup a shell's runtime environment.


For Red Hat OS's "/somewhere" is /usr/java when you're installing the Oracle RPM or just want to use the standard convention.



ty sir its worked for me
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic