Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Need help with OS X java compiler

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic