I use intellij on my mac and on my pc.
I keep all of my libraries in a folder C:/kyle/dropbox/lib on my pc, and in the folder /Users/kyle/dropbox/lib on my mac.
How can I specify global libraries in intellij that will work with both paths? Is there a way I can specify the paths to the jars with an environment variable like $LIB$/.....?
See
Settings|Path Variables, you define path variables on both systems and forget about it, no need to use them explicitly. When project is saved, all actual paths are replaced with path variables in the project files, when project is loaded, variables in project files are replaced with system specific paths according to your settings.