• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Need help with OS X java compiler

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need help compling and running simple java programs under OS X. It's not java help I asking for it's how to use the compiler help.

I'll be using only System.out - no swing, no awt, no cocoa, etc. and I don't want to struggle with trying to figure out project builder for such a simple task. None of the project type templates seem to fit. I don't want lots of junk when all I want to do is write some simple classes and play with them. I'm studying design patterns and I want to follow along w/ the book. So the examples are simple and the code is generic.

P.S. I'm using Jaguar. I don't know Unix.
 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what's your question?

You bring up a terminal window and use javac from the command line.
 
Bob Jones
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Bear Bibeault:
So what's your question?

You bring up a terminal window and use javac from the command line.


You just answered my question! Or perhaps began to answer my questions. I'm sure there will be more as I struggle on.

I didn't know how to even invoke the complier. Now I do. And, I knew there was something about "man" in Unix, as in "the manual", so I typed in "man java" and viola, doc-u-men-tation!

THX for getting me started!
 
Bear Bibeault
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's cool. Once you get to the command line, compiling java is no different on the Mac than on any other unix platform, so any general info you find on Java on this or other sites will be pertinent.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!