linux - Compile Java source to another directory -


so i'm new java programming , can compile , run java code linux terminal using javac objects.java , java objects. although, wondering on how compile source code directory? let's have file person.java in /home/alarm/projects/src/ folder, want compile /home/alarm/projects/bin/ folder while still in current directory. not sure if makes sense, can explain if possible? btw, using arch linux know os.

you can use parameter -d specify target directory.

more information can found here.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -