Stupid Mac Question

I've switched to a Mac for development (for reasons to complex to explain here). I've had only minor problems setting up various things but one thing that is still eluding me:

Where do I tell IDEA that the JDK is? My best guess is that there's something that I should download from the Apple site, but that's just a WAG.

Thank you,

Donald

17 comments
Comment actions Permalink

Donald

>I've switched to a Mac for development
>Where do I tell IDEA that the JDK is?
>

I posted a message with details about this, a few days ago in this
newsgroup.

Alain

0
Comment actions Permalink

Alan,

You posted very nice directions for 1.5. Unfortunately, I'm still on Panther until our IT department says otherwise.

I'm looking for how to tell IDEA where the 1.4.2 JDK is.

Thank you,

Donald

0
Comment actions Permalink

And while I'm asking stupid newbie questions (Newbie to Mac that is):

I've been trying to do CVS over SSH and I'm actually getting no output at all in the CVS console. Has anyone gotten CVS over SSH to work? Any hints that you can give me?

Thank you,

Donald
I love my Mac, but Gosh I hate learning the foibles of a new OS.

0
Comment actions Permalink

Donald

The JDK is already installed on your machine: just select
/Library/Java/Home
as the JSDK home path. That should get you going.


For the source and javadoc, I think I had to download them separately.
Look at:
http://developer.apple.com/java/download/


Alain

0
Comment actions Permalink

Donald

>I love my Mac, but Gosh I hate learning the foibles of a new OS.

>


Be ready to be disappointed, a little, by IDEA on MacOS X, for 2 reasons:
- Windows is superior to MacOS, when it comes to keyboard-only navigation
- IDEA's keyboard support is inferior on MacOS.


A few tips:`
- some reading: "How To Switch To The Mac"
http://the.taoofmac.com/space/HOWTO/Switch%20To%20The%20Mac

- finding apps (with users' ratings and comments) :
http://www.versiontracker.com

If I had to recommend one app - a tool, actually -, it's Launchbar.
http://www.versiontracker.com/dyn/moreinfo/macosx/2409

On my Mac, it's mapped to Command-Escape. I use it all the time.
It works a little like Spotlight (in Tiger).


Alain

0
Comment actions Permalink

That's beautiful. I looked and looked but I wasn't sure what I was looking FOR.

Thank you.

Now for the CVS question. Anyone?

0
Comment actions Permalink

Where the heck do logs go on the Mac?

0
Comment actions Permalink

/Library/Logs or ~/Library/Logs for the Mac-type ones
/var/logs for the more Unix-y ones.

R

0
Comment actions Permalink

Sorry, I meant the IDEA logs.

0
Comment actions Permalink

~/Library/Caches/IntelliJ IDEA/logs

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

Sorry, I meant the IDEA logs.



0
Comment actions Permalink

"Be ready to be disappointed, a little, by IDEA on MacOS X, for 2 reasons:
- Windows is superior to MacOS, when it comes to keyboard-only navigation
- IDEA's keyboard support is inferior on MacOS."


I disagree with these points.
1. OSX Keyboard navigation + Rendevous makes developing
a dream for keyboard jockies.

2. You can set darn near all IDEA commands in the
Keymap preferences your liking, so "IDEA's keyboard
support is inferior on MacOS" is as inferior as
you allow it to be .

0
Comment actions Permalink

"I've been trying to do CVS over SSH and I'm actually getting no output at all in the CVS console. Has anyone gotten CVS over SSH to work? Any hints that you can give me?"

Are you talking about CVS in IDEA or in general on osx.
On OSX it works pretty much the same way it does on any
*nix system. google on CVS_RSH and all that. In IDEA
I've found that both :ext: and :ssh: methods work for me.
Peace.

0
Comment actions Permalink

Vincent



>> "Be ready to be disappointed, a little, by IDEA on MacOS X, for 2 reasons:
>I disagree with these points.

>

You can't open IDEA's menus with Alt+key, when the cursor is in an
editor/text field.
That's a real productivity killer, and a disappointment. Mouse is for
newbies... or Mac users.

>1. OSX Keyboard navigation + Rendevous makes developing

>

Rendezvous has nothing to do with kbd navigation!?



>2. You can set darn near all IDEA commands in the

Keymap preferences your liking, so "IDEA's keyboard
support is inferior on MacOS" is as inferior as
you allow it to be .

>

>

The refactoring dialogs can't be used without a mouse, as many
checkboxes, or buttons can't be accessed by tabbing, or a kbd shortcut.


Alain

0
Comment actions Permalink

"You can't open IDEA's menus with Alt+key, when the cursor is in an
editor/text field.
That's a real productivity killer, and a disappointment. Mouse is for
newbies... or Mac users."

What version of IDEA/OSX are you using?
I am using 4.5.4/10.3.9
My curser is in the editor and I can open
and menu with alt/option ]]>
for example with my cursor in my editor window
altf opens the file menu, alts opens the search menu ..etc. In addition the arrow keys allow me to move up and down the menu. My bad, I meant to say Expose, not Rendevous.

0
Comment actions Permalink

Vincent

Problem 1: opening the menus (fixed)
-


> > "You can't open IDEA's menus with Alt+key, when the cursor is in an
> >editor/text field.
> What version of IDEA/OSX are you using. I am using 4.5.4/10.3.9

I'm using Irida, and it works fine now. Funny. I'm pretty sure it used
to insert a special character - associated to alt+key - in the editor,
before opening the menu. I'm happy to see it works now. That's super
great news. I don't know when it happened.


BUT

Problem 2: refactoring dialogs (still broken)
-


This problem still happens in many other places (the refactoring dialogs):

1/ trigger "Rename" on an id AND press Alt-S, to (un)select the
"Search.." option
=> it overwrites the selected text with a special char - Ã? - ,


2/ trigger "Move" on a static method, and press Alt-V (for priVate)
=> it inserts the special char â??
In this same dialog, you can't move the focus to the 'Visibility'
checkboxes by tabbing...

etc..


Alain

0
Comment actions Permalink

Ok, found the logs. Unfortunately, the only thing that they show about my attempts to use CVS is the completely unhelpful message shown below. Why isn't it a valid request? I ran CVS from the command line with the exact configuration that I gave to IDEA - command line works, IDEA doesn't. NOT GOOD.

-



2005-05-06 11:23:54,654 INFO - ellij.openapi.vcs.VcsException -
org.netbeans.lib.cvsclient.ValidRequestsExpectedException: Valid requests expected!
at org.netbeans.lib.cvsclient.RequestProcessor.updateValidRequests(RequestProcessor.java:212)
at org.netbeans.lib.cvsclient.RequestProcessor.openConnection(RequestProcessor.java:99)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:76)
at org.netbeans.lib.cvsclient.command.checkout.ListModulesCommand.execute(ListModulesCommand.java:52)
at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.execute(CvsCommandOperation.java:267)
at com.intellij.cvsSupport2.config.CvsRootConfiguration$1.run(CvsRootConfiguration.java:167)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:62)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:10)

0
Comment actions Permalink

I know I'm resurrecting a year old thread here... But I am having this same problem right now... I'm on a MacBook Pro with EAP 5281...

I have

export CVS_RSH=ssh

set in /etc/profile

and my cvs project works fine from the command line.. but I see basically the same problem the parent poster mentions...

anyone recognize my problem?

2006-05-18 22:11:13,749 INFO - ort2.javacvsImpl.io.ReadThread - Stopping CvsReadThread Thread[CvsReadThread,10,Idea Thread Group], atEnd: true, firstIndex: 0, lastIndex: 0, exception: null, closed: false
2006-05-18 22:11:13,772 INFO - ons.common.CvsCommandOperation -
org.netbeans.lib.cvsclient.ValidRequestsExpectedException: Valid requests expected!
at org.netbeans.lib.cvsclient.RequestProcessor.updateValidRequests(RequestProcessor.java:215)
at org.netbeans.lib.cvsclient.RequestProcessor.openConnection(RequestProcessor.java:105)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:82)
at org.netbeans.lib.cvsclient.command.add.AddCommand.execute(AddCommand.java:129)
at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.execute(CvsCommandOperation.java:261)
at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.execute(CvsCommandOperation.java:207)
at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.execute(CvsCommandOperation.java:157)
at com.intellij.cvsSupport2.cvsoperations.common.CvsOperationOnFiles.execute(CvsOperationOnFiles.java:36)
at com.intellij.cvsSupport2.cvsoperations.common.CompositeOperaton.execute(CompositeOperaton.java:37)
at com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler.internalRun(CommandCvsHandler.java:279)
at com.intellij.cvsSupport2.cvshandlers.CvsHandler$2.run(CvsHandler.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:420)
at com.intellij.cvsSupport2.cvshandlers.CvsHandler.run(CvsHandler.java:124)
at com.intellij.cvsSupport2.cvsExecution.CvsOperationExecutor$2.run(CvsOperationExecutor.java:133)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:59)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:4)
2006-05-18 22:11:13,773 INFO - ons.common.CvsCommandOperation -

0

Please sign in to leave a comment.