Jump to content

Programming On Redbrick: Difference between revisions

no edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:


Note: there is now a new [[Helpdesk]] C++ tutorial being constructed at the moment here at [[Cplusplus]].
Note: there is now a new [[Helpdesk]] C++ tutorial being constructed at the moment here at [[Cplusplus]].
==Programming Environments==
Pygmalion is the recommended programming environment on RedBrick, it has a large amount of programming tools available, and also has fast local disk space (available on request by mailing admins@redbrick).
To connect to pygmalion type:
  ssh username@pygmalion.redbrick.dcu.ie
on linux, or on windows with putty set your hostname to pygmalion.redbrick.dcu.ie and click open.


==GCC==
==GCC==
Line 29: Line 39:
==Compiling and Running Java Programs==
==Compiling and Running Java Programs==


In order to use Java, first login to Deathray, like so:
ssh deathray
If you are prompted for a password, this is your normal RedBrick password.


The Java compiler on redbrick is called, unsurprisingly, javac. Compiling Java programs is a little more complex than compiling C programs as you need to have two environment variables set, JAVA_HOME and CLASSPATH. To see what these are set to, at the prompt type :
The Java compiler on redbrick is called, unsurprisingly, javac. Compiling Java programs is a little more complex than compiling C programs as you need to have two environment variables set, JAVA_HOME and CLASSPATH. To see what these are set to, at the prompt type :