Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've tried Scala on two computers. It works fine on a Windows Professional 64-Bit OS, but the REPL and scalac crash nastily on Windows Professional 32-Bit when running directly from the command line.

I've tried both the 2.9 and 2.10 releases, and they both return the following error:

C:\>scala
Welcome to Scala version 2.10.0-M6 (Java HotSpot(TM) Client VM, Java 1.7.0_05).
Type in expressions to have them evaluated.
Type :help for more information.

scala> val x : Int = 1

Failed to initialize the REPL due to an unexpected error.
This is a bug, please, report it along with the error diagnostics printed below.
java.util.concurrent.ExecutionException: java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 5
^C:\Program Files\Java\includes\.*.jar$

Followed by about 100 lines of related errors grouped under that first one. I'm not sure what to make of it. Perhaps more interestingly, it seems to work fine when I run it from Netbeans.

I have the latest version of the JDK installed (7u5), if that makes a difference.

share|improve this question
    
This is a bug, please, report it along –  Sathya Aug 5 '12 at 7:29
    
Did so. Looks like nobody has an answer. If you want to post that as an answer, I'll mark it accepted. –  KChaloux Aug 7 '12 at 0:29
    
you can add your own answer, complete with links to the bug report :) –  Sathya Aug 7 '12 at 4:22

1 Answer 1

up vote 0 down vote accepted

Nobody seems to have an answer to this one, and @Sathya suggested that I report it as a bug. You can find the report link here if you're interested. I'd be curious to know if anybody else can reproduce this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.