Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Network or classroom stand-a-lones

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are setting up to teach Intro JAVA and have to make a decision about whether or not to network the computers in the lab. PRO-- file sharing and printing-- CONS - classpath problems ( like always) ----

I have fears that once I get configured into the school system's network - nothing can be changed. So I might not be able to alter the autoexec . bat file to allow for a change in classpath - or does someone have a network solution?

C++ was taught using stand alone computers and floppy disks for backups. Network would make several things easier - but perhaps at the risk of not being able to configure the language to run at all?!!!

All suggestions will be appreciated.
yippyiocpu@yahoo.com
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(Assuming Windows) - why not just make a convention of having three standard .bat files in each folder (with one folder per class project):

1. env.bat: Sets PATH, CLASSPATH, etc
2. c.bat: Compiles
3. r.bat: Executes

Furthermore, I'd suggest that "env.bat" define the following three environment variables:

set JAVA_ROOT=c:\...
PATH=%JAVA_ROOT%\bin;...
set CLASSPATH=.;%JAVA_ROOT%\lib;...

That way, students would typically only have to change one line ("set JAVA_ROOT") in one file (env.bat) for the entire session (a "session" being either in the classroom, or at home).

Just a thought .. PSM
 
Paper jam tastes about as you would expect. Try some on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic