Monday, May 19, 2014

Weblogic Install: Files was unexpected at this time!

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!




12 comments:

  1. Didn't help me with this error.
    None of the environment variables below had double quotes.
    PATH, MW_HOME, and JAVA_HOME

    ReplyDelete
  2. its not worked for me please advice me

    ReplyDelete
  3. Wow amazing. Thanks a ton for the solution

    ReplyDelete
  4. It worked for me! great help. Thanks!

    ReplyDelete
  5. Wow I wasted so much time on that. Thanks for your help!

    ReplyDelete
  6. Hi Thanks I wasted the lot of time in this.Thanks for the solution

    ReplyDelete
  7. eventhough my environment variable doesn't have any double quotes its not working can any one help me to fix this.

    ReplyDelete
  8. thanks ,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

    ReplyDelete
  9. Bro you have save my life man.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete