Java 6 for mac 10.8

broken image
broken image

Should be some ppl out there with these directory names, correct case and with sudo. Hope it works for all you other people in jdeveloper cronic pain. Remember shell scripting is picky about white spacing. 3.1 - At the very bottom of the file make the next edit.

broken image

Locate the file /Users/xxx/Oracle/Middleware/oracle_common/common/bin/wlst.sh that matchs whatever install configuration you made. Change: if not 'ADRS_DOMAIN_PASSWORD' in os.environ: print('Error: ADRS_DOMAIN_PASSWORD environment variable not set.') exit() For: if not 'ADRS_DOMAIN_PASSWORD' in os.environ: os.environ='weblogic1' 3 - Now the caller script needs to be diverted to our patched file. 2.1 - The edition shall set the desired variable instead of fail. Locate the file /Users/xxx/.jdeveloper/systemXXX/o.j2ee.adrs/CreateDefaultDomain.py and copy it wherever you want. 2 - Then, you have to copy CreateDefaultDomain.py to some location out of your. 1.1 - We try to tweak CreateDefaultDomain.py to circumvent the problem but it gets rewritten every time that the creation process gets invoked, so direct edition is not an option. 1 - The problem seems to be that the variable ADRS_DOMAIN_PASSWORD does not get set, this in turn makes the CreateDefaultDomain.py fail. Ok, this is a very ugly hack but does workaround the integrated weblogic domain creation trouble.