Difference between revisions of "Setup"
Line 48: | Line 48: | ||
=Java= | =Java= | ||
==Language== | ==Language== | ||
− | * Download [https://www.oracle.com/java/technologies/downloads/ | + | * Download [https://www.oracle.com/java/technologies/downloads/ JDK] (16 or greater) |
− | * Install | + | * Install JDK (16 or greater) |
==IDE== | ==IDE== |
Revision as of 04:18, 22 January 2022
Contents
Coursera
- follow the link to Programming Languages Part A
- click "Join For Free" in the top right corner.
- do what you need to do to join coursera (and log in, if necessary).
- click on enroll for free
repeat for
ML
Language: Standard ML of New Jersey
Mac OSX
NOTE: recently, macOS 10.15 Catalina switched the default shell from bash to zsh. As a result, you may need to edit .zshenv instead of .bash_profile. You can alternatively switch your default shell in VS Code to bash.
Windows
Linux
Editor
VS Code (Preferred)
- Download and Install VS Code
- Add Standard ML language support by Darin Morrison
or Sublime Text (Alternate)
Racket
Language and IDE
Ruby
Language
Mac OSX
Note: depending on how the permissions are set up on your machine you may need to prefix a command with sudo
or perhaps you may have to omit sudo
.
Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install Ruby
brew install ruby
Add Ruby To Path
if Mac OSX 10.15 Catalina or greater
~/.zshrc
else
~/.bash_profile
Add this line:
export PATH="/usr/local/opt/ruby/bin:$PATH"
check ruby
You can either
1) restart your terminal
or
2) source the appropriate configuration file based on your shell (which is often dependent on the OSX version)
source .zshrc
or
source .bash_profile
Then run
ruby --version
which should report version 2.7.2
as of Fall 2020.
OS Gem
sudo gem install os
PNG Gem
sudo gem install chunky_png
OpenGL Gem
sudo gem install opengl-bindings
Opener Gem
sudo gem install opener
Zip Gem
sudo gem install zip
Windows
Ruby
Download and Install Ruby+Devkit 3.1.2-1 (x64)
OS Gem
gem install os
PNG Gem
gem install chunky_png
OpenGL Gem
gem install opengl-bindings
Zip Gem
gem install zip
OpenGL Runtime
NOTE: the first time you run one of the course's Ruby script which uses OpenGL, it will automatically download and extract FreeGLUT and GLFW3 to your ~/Downloads/CSE425s folder and use the files within.
Opener Gem
gem install opener
Linux
Ruby Language
Fedora
Ubuntu
sudo apt-get install ruby-full
OS Gem
sudo gem install os
PNG Gem
sudo gem install chunky_png
OpenGL Runtime
sudo apt-get update
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libglfw3-dev
OpenGL Gem
sudo gem install opengl-bindings
Opener Gem
sudo gem install opener
IDE
- Apply for student status with JetBrains
- Download and Install RubyMine
- Ensure that the Ruby SDK and Gems setting is correctly configured
Check Installation
OpenGL
Mac users- run this:
file to run: | src/main/ruby/installation_check/mac_osx_glfw_downloader_and_extractor.rb |
Everyone, including Mac users, run this:
file to run: | src/main/ruby/installation_check/opengl_check.rb |
OpenGL Texture
file to run: | src/main/ruby/installation_check/opengl_texture_check.rb |
Java
Language
- Download JDK (16 or greater)
- Install JDK (16 or greater)
IDE
Eclipse
- Download Up To Date Version (2019‑12) of Eclipse
- Install Eclipse (Select Eclipse IDE for Java Developers)
or IntelliJ
Git Repo
after you have cloned your git repo from bitbucket, be sure to import the pom.xml file in the top-level java folder.