• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

\\jboss-4.0.5.GA\bin\run.jar is unexpected at this time

 
perumal mani
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In windows 2003(64bit) Operating System, when i install jboss-4.0.5.GA under "C:\Program Files(x86)" i am getting the following error when starting the jboss using run.bat.
"\\jboss-4.0.5.GA\bin\run.jar is unexpected at this time"

when i install jboss in "C:\Program Files", its getting started without any problem. Even if i install in some other directories its working fine. only when i install under "C:\Program Files(x86)", i am getting this problem. Please let me know the solution for this problem. Expecting for replies.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution is simple - don't install in "Program Files(x86)". In fact, I advise against installing *any* Java application within a directory with spaces in the name. Such paths can cause problems in a wide variety of Java libraries.

On my system, I put it at c:\apps.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant to also say that in your case, some Java library is interpreting the "(" or ")" as special characters, and hence messing up the file name.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And thinking about the problem some more, I think the issue here is with the run.bat script, and its mis-handling of the classpath being passed to java.exe. You could try fixing run.bat, but I would still vote for relocating JBossAS to c:\apps.
 
rajnish patel
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:The solution is simple - don't install in "Program Files(x86)". In fact, I advise against installing *any* Java application within a directory with spaces in the name. Such paths can cause problems in a wide variety of Java libraries.

On my system, I put it at c:\apps.



Worked for me sir, 10q
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
10q? Please UseRealWords
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic