Hi John,
 
best way to solve this is to set JAVA_HOME within your pc's environments variables:
 
Conrol panel > System >(tab) advanced > 9button) environments variables
 
 
and add (or modify) entry within system variable window.
 
variable name:JAVA_HOME
 
variable value:c:\jdk15  (or c:\java_home  in your case)
 
 
you can check your Environment Variables if you type SET within command line:
 
should print something like:
 
HOMEDRIVE=Z:
HOMEPATH=\
HOMESHARE=\\ls300\Marijan$
JAVA_HOME=c:\jdk15
M2_HOME=C:\Program Files\Mergere\Maestro 1.0.1.20060703\maven
MAVEN_HOME=c:\maven
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=c:\jdk15\bin;C:\Program Files\Mergere\Maestro 1.0.1.20060703\maven\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sy
stem32\Wbem;C:\Program Files\YourKit5\bin\win32;C:\Program Files\Windows PowerShell\v1.0\
 
....
 
etc..
 
 
 
 
hth,
-m
 
 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: Friday, September 22, 2006 2:31 AM
To: [email protected]; Red5devs
Subject: Re: [Red5devs] [Red5] More info on JDK error

here's the weird part:  I can get it running through eclipse as a java application
 
???!?!?!
 
why can't i do "ant server" through a command prompt?

 
On 9/21/06, John Grden <[EMAIL PROTECTED]> wrote:
I'm wondering if anyone on this list uses Windows Vista and compiles using javac
 
I just have no clue what this could mean:

C:\Users\John\Documents\Red5\SVN>ant server
Buildfile: build.xml
     [echo] java.home is C:\Program Files\Java\jdk1.5.0_08\jre and the target version is 1.5

-junit.check:

prepare:

compile:
    [javac] Compiling 1 source file to C:\Users\John\Documents\Red5\SVN\webapps\fitcDemo\WEB-INF\classes

BUILD FAILED
C:\Users\John\Documents\Red5\SVN\build.xml:118: Error running C:\Program Files\Java\jdk1.5.0_08\jre\..\bin\javac compiler

 
I'm running from the trunk, is it possible that some hasn't posted files yet?


 
On 9/21/06, Manolo R.G. <[EMAIL PROTECTED] > wrote:
John Grden escribió:
> yeah I figured out that's what was going on, but it still gives an error.
> I've uninstalled / reinstalled to c:\java_home just to be as generic as
> possible and still no go.
>
> I was able, however, to open eclipse and comple a java application.
> Isn't
> that using javac.exe as well?
Sorry i don't use eclipse i'm running an very low memory/processor
machine, i compile and jar my apps with a .bat or two, but it sure uses
javac

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



--
[  JPG  ]



--
[  JPG  ]
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to