Problem running Java from windows

Soldato
Joined
18 Oct 2002
Posts
16,080
Location
The land of milk & beans
Hi all,

I'm having a problem with an HSBC payment integration in C# (the first problem being it's not directly possible, and the other solution of using classic ASP won't work as I can't register the 32bit dlls on out 64bit server - dumbass HSBC). Anyway, I'm trying to attempt the workaround as specified in this SO thread - http://stackoverflow.com/questions/...it-operating-system-to-work-with-regsvr32-exe

However I'm having trouble trying to 'javac' the .java file (sorry - I'm a windows man and a complete Java nooblet).

The error i get is:
javac_wtf.gif


I'll be eternally grateful of any help.
 
How did you install Java and have you checked your classpath?

It sounds like it can't find the java compiling class (javac).
 
I installed java by downloading and running the JDK package from sun's site.

How do I check the classpath?

Originally it couldn't find javac and gave an 'unrecognised command' error, but adding the environment variable fixed that and now i get this error which has me stuck.
 
Check your CLASSPATH and JAVAHOME environment vars.

You can find them in the same place you set the PATH variable.
 
Back
Top Bottom