First we upgraded to JDK 1.4.0
We were getting a error “C:\WINNT\System32\javac.exe this system cannot find the file specified� We fixed this by editing the Compile Java path and pointed it to our new javac.exe, Works great.
My problem is we have multiple unknown students’ login and for each student the Compile and run path need to be changed. I found a way to do this with login script and edit the registry or changing the default profile witch would take us a long time, there’s got to be an easier way.
Any ideas?
Thanks
Dan
Changing where Compile Java look for multiple users
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Did you look at http://www.textpad.com/support/faq/java.html ,
esp "Why can't TextPad find Javac.exe?" and "How does TextPad locate the JDK programs?"? HTH
esp "Why can't TextPad find Javac.exe?" and "How does TextPad locate the JDK programs?"? HTH
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be
Yes, When I when in to configure/Preferences/Tools and remade the JDK commands for Compile and Run it works great but just for that user. Any other user that logs in to that computer it also needs to be changed. I’m dealing with students that have a hard enough time doing there homework and don’t want to have them change this every time they log in to a different computer. As for the java registry keys they look to be right according to the help files.
Thanks
Dan
Thanks
Dan
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
I am not a Java person (don't even drink coffee), but this approach has frequently worked for similar products with multiple user issues.
Have you tried making a batch file to call Java? In the batch file you could pass a %1 parameter to pick up their user ID from the environment and use that to define the path. Have the TextPad tool call the batch file vs. calling java directly?
Have you tried making a batch file to call Java? In the batch file you could pass a %1 parameter to pick up their user ID from the environment and use that to define the path. Have the TextPad tool call the batch file vs. calling java directly?
Hope this was helpful.............good luck,
Bob
Bob
I believe so… but I’m not 100% sure I didn’t do the install. I’m sure it was done through the local administrator account and not a domain user. Is this what you mean? Or is there some option during install I need to look at. I’m looking at about 50 or more computers and don’t really want to go around and uninstall and reinstall... although it is an option.