Finding javac

Questions about Wine on Linux
Locked
peredur
Newbie
Newbie
Posts: 2
Joined: Mon Jan 28, 2013 5:29 pm

Finding javac

Post by peredur »

I've installed the Oracle JDK and TextPad under WINE and they both work fine, but I can't get TextPad to compile java files because javac.exe cannot be found. Note that TextPad won't allow you to give the full path to the executable.

I've set the path variable, but javac still cannot be found. Here's what I mean, using the command line for illustration purposes:

Code: Select all

C:\Program Files\Java\jdk1.7.0\bin>javac -version 
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
javac 1.7.0

C:\Program Files\Java\jdk1.7.0\bin>echo %path% 
C:\windows\system32;C:\windows;C:\windows\system32\wbem;"c:\Program Files\Java\jdk1.7.0\bin"

C:\Program Files\Java\jdk1.7.0\bin>cd c:\        

C:\>javac -version
Can't recognize 'javac -version' as an internal or external command, or batch script.
[\code]

All help gratefully received.

Many thanks


PAE
peredur
Newbie
Newbie
Posts: 2
Joined: Mon Jan 28, 2013 5:29 pm

Re: Finding javac

Post by peredur »

Sheesh! I'm such an idiot!

It was the quotation marks in the path. Sorry for time wasting.

PAE
Locked