As trying to install the newest Weblogic version 12g 1.20 on my Windows machine, I ran into the weird error that I haven't seen before. And it's called "Files was unexpected at this time"!
It took me like to 2 days to figure out! The root cause of this error is that the system variable PATH contains double quote such as "C:\Program Files(x86)\someprogram".
Solution: just remove the double quote!
My guess is that when I tried to execute configure.cmd, it tried to set up my local machine environment for Weblogic installation/launching. In doing so, it had to parse and add elements to the system variable PATH. Since my PATH contained double quote, it failed to parse it. And that's the reason it threw the error: "Files was unexpected at this time"!
Hope it save you some time when running to this issue!
Thanks, you saved me the day
ReplyDeleteDidn't help me with this error.
ReplyDeleteNone of the environment variables below had double quotes.
PATH, MW_HOME, and JAVA_HOME
It worked for me. Thanks
ReplyDeleteits not worked for me please advice me
ReplyDeleteWow amazing. Thanks a ton for the solution
ReplyDeleteIt worked for me! great help. Thanks!
ReplyDeleteWow I wasted so much time on that. Thanks for your help!
ReplyDeleteHi Thanks I wasted the lot of time in this.Thanks for the solution
ReplyDeleteeventhough my environment variable doesn't have any double quotes its not working can any one help me to fix this.
ReplyDeletethanks ,after so much spending time,finally launched my config.cmd..!really,small things matters ,thanks for giving me a lesson,I would never forget this ..mainly guide my fellow mates to save their time.Thank you
ReplyDeleteBro you have save my life man.
ReplyDeleteThis comment has been removed by the author.
ReplyDelete