The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by ashy1999]

how do i add something in the classpath
and whats the deifference between it and the enviroment variable path
import-bot (20211) [Avatar] Offline
#2
Re: javax
[Originally posted by author]

Javax is a package containg java extensions, such as swing and java 3d. With
the latest releases of the java sdk this should be included automatically in
the default classpath.

You can add it on the compiler and vm command lines using the -classpath
switch, which you have to do each time. Adding it in an environment variable
includes the element all the time. You can also make a script, such as that
provided with the book examples, to compile and run with a particular set of
classpath elements.

--jon