This page is no longer maintained — Please continue to the home page at www.scala-lang.org

:javap unavailable on this platform.

3 replies
Ittay Dror 2
Joined: 2010-05-05,
User offline. Last seen 42 years 45 weeks ago.

Hi,

What can be the reason for javap not being available in the REPL? I'm
using Windows 7 64bit with JDK 6 32bit

Regards,
Ittay

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: :javap unavailable on this platform.

On 5/15/11 10:16 AM, Ittay Dror wrote:
> What can be the reason for javap not being available in the REPL? I'm
> using Windows 7 64bit with JDK 6 32bit

I will change this message to "you need tools.jar on your classpath."

Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.
Re: :javap unavailable on this platform.

On 15 mai, 10:34, Paul Phillips wrote:
> On 5/15/11 10:16 AM, Ittay Dror wrote:
>
> > What can be the reason for javap not being available in the REPL? I'm
> > using Windows 7 64bit with JDK 6 32bit
>
> I will change this message to "you need tools.jar on your classpath."

I ran into this inside the REPL in Eclipse. How would I add tools.jar
so the REPL finds it? In eclipse.ini???

Thanks,

Cay

Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.
Re: :javap unavailable on this platform.
For that matter, I can't even do it in the REPL. I added tools.jar to the class path and it made no difference. I know it's on the class path because the REPL finds the contents. For example, it tab-completes com.sun.tools.javap.Main.run.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland