How can it be that Netbeans can compile and run apps, but that the path environmental variable for windows xp doesn’t have javac configures correctly (assuming this to be the problem, see GAE error)?
Following this tutorial, I’m getting runtime errors from a Java app. I’m using NB 6.9.1 and the GAE (Google App Engine) third-party for the correct version. I suppose I could compile the plugin from source, but I don’t believe that’s the problem.
As near as I can tell the Guestbook app comes directly from Google for GAE.
————update—————–
OK, this looks like a path problem. The output from path shows that not all drives have the correct path. (I manually added the JDK path to the path for the c drive.) The spammy output for the GAE is seperated, as is the spammy run output.
I think it’s just the network mapping, which is breaking the path(?).
In terms of setting the path the default in the computer lab is:
After editing, the new path result is:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:>echo %PATH%
C:\apps\java\java-tools\ant\bin;c:\apps\java\jdk1.6.0_14\bin\bin;C:\watcom-1.3\b
innt;C:\watcom-1.3\binw;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
c:\Program Files\Intel\DMIX;c:\apps\QuickTime\QTSystem\;c:\Program Files\Microso
ft SQL Server\90\Tools\binn\;C:\Apps\TortoiseSVN\bin;C:\Program Files\Windows Im
aging\;C:\Program Files\FreePhoneLine\native\Xuggle\bin\;C:\Program Files\Java\j
dk1.6.0_02\bin
H:>
All well and good. Further good news:
So, it appears that javac is on the path correctly now. By putting the NetbeansProjects directory (now called NB) and the GAE sdk on C:\ the app actually runs.
All this is so anticlimactic to futzing about with PATH, not really sure what think.
Anyhow, kinda work. Dunno, really, if this is a factor of simply moving the project to the C drive, the sdk to the C drive, just a different machine, or factor x.
For now at least, solved.