Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Workaround for Cytoscape + Latest Version of Apple Java VM Problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Keiichiro Ono  
View profile  
 More options Jun 17, 1:40 pm
From: Keiichiro Ono <kei...@gmail.com>
Date: Wed, 17 Jun 2009 10:40:09 -0700
Local: Wed, Jun 17 2009 1:40 pm
Subject: [Important] Workaround for Cytoscape + Latest Version of Apple Java VM Problem
Hi.
Apple had released latest version of Java updates last week, and it
breaks lots of things in Cytoscape.  If you use Leopard (OS X 10.5.x)
on 64-bit Intel chip machine (Core 2 Duo or later), you can avoid this
issue by using 64-bit version of Java 6.  you can switch the Java
runtime by the following steps:

1. Go to Application-->Utilities
2. Double-click Java Preferences
3. For Java Applications, drag-and-drop Java SE 6 to the top of the list.
4. Exit from Java Preferences
5. Go to terminal (Applications-->Utilities) and type "java -version"
6. If you can see the following, your machine is configured to use Java 6:

gamay:MCODE2 kono$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)

For older machine users, we have not figured out how to solve this issue yet.
Sorry for the trouble.

Thanks.
Kei

--
Keiichiro Ono    k...@ucsd.edu

Cytoscape Core Developer Team: http://www.cytoscape.org/
UCSD Bioengineering Ideker Lab: http://chianti.ucsd.edu/idekerlab/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michi  
View profile  
 More options Jun 19, 5:07 am
From: Michi <michael.boell...@gmail.com>
Date: Fri, 19 Jun 2009 02:07:33 -0700 (PDT)
Local: Fri, Jun 19 2009 5:07 am
Subject: Re: Workaround for Cytoscape + Latest Version of Apple Java VM Problem
On a colleagues Mac we a have set up java like you wrote above but
when we start Cytoscape by clicking on its icon it seems to start in
java5.
My plugin uses java6 and I suppose therefore I get the error "
java.lang.UnsupportedVersionError: Bad version number in .class
file...." when loading my plugin.
To get around this error we start Cyptoscape from by skript (or in the
console) with the command in the cytoscape.sh file:
java -Dswing.aatext=true -Xss5M -Xmx512M -jar cytoscape.jar
cytoscape.CyMain -p plugins "$@"
Then Cytoscape doesn't come up with the error and all seems to work
fine.

Is there another way of telling the Mac to use java6 for Cytoscape or
is this behaviour caused by the installer or dmg file.

Michael


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Bader  
View profile  
 More options Jun 20, 11:41 am
From: Gary Bader <gary.ba...@utoronto.ca>
Date: Sat, 20 Jun 2009 11:41:07 -0400
Local: Sat, Jun 20 2009 11:41 am
Subject: Re: [Cytoscape-discuss] Re: Workaround for Cytoscape + Latest Version of Apple Java VM Problem
Hi Michael - you can tell the Mac to use Java 6 (or any supported
version) by default using the "Java Preferences" application, which is
in /Applications/Utilities/Java/.

Gary

--
http://baderlab.org
Terrence Donnelly Centre for Cellular and Biomolecular Research
University of Toronto

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phlampe  
View profile  
(1 user)  More options Jun 24, 5:33 am
From: phlampe <paulhenri.la...@gmail.com>
Date: Wed, 24 Jun 2009 02:33:53 -0700 (PDT)
Local: Wed, Jun 24 2009 5:33 am
Subject: Re: Workaround for Cytoscape + Latest Version of Apple Java VM Problem
In my case, I have a Mac Pro with Mac OS 10.5.7 installed, and even
after the last java update, a "java -version" at the command line kept
returning version 1.5, and even after changing the order with the Java
Preferences app.

The fix for this Java home problem selection, from Apple's Java
discussion list (see http://discussions.apple.com/thread.jspa?messageID=9657716
), is to use the new java_home utility to assign the good value in the
JAVA_HOME environment variable.

To do that, edit your .profile file (in your home directory), and
change the JAVA_HOME line from:
export JAVA_HOME=/Library/Java/Home

to (notice the backquotes):
export JAVA_HOME=`/usr/libexec/java_home`

I don't know why I had that hard-coded JAVA_HOME assignment in my
profile, maybe from some old installations or maybe it's just normal.

Cytoscape worked well afterwards.

Paul-Henri

On 20 juin, 17:41, Gary Bader <gary.ba...@utoronto.ca> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keiichiro Ono  
View profile  
 More options Jun 24, 1:17 pm
From: Keiichiro Ono <kei...@gmail.com>
Date: Wed, 24 Jun 2009 10:17:54 -0700
Local: Wed, Jun 24 2009 1:17 pm
Subject: Re: [Cytoscape-discuss] Re: Workaround for Cytoscape + Latest Version of Apple Java VM Problem
Hi.
All of Apple Java2D problems we are experiencing now are the known
issues and users of other software (such as Taverna) have same
problems.  Some discussions are going on in Apple's discussion board:

http://lists.apple.com/archives/Java-dev/2009/Jun//msg00291.html

I hope Apple releases a new patch soon...

Kei

2009/6/24 phlampe <paulhenri.la...@gmail.com>:

--
Keiichiro Ono    k...@ucsd.edu

Cytoscape Core Developer Team: http://www.cytoscape.org/
UCSD Bioengineering Ideker Lab: http://chianti.ucsd.edu/idekerlab/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
biodan653  
View profile  
 More options Jun 25, 12:57 am
From: biodan653 <biodan...@gmail.com>
Date: Wed, 24 Jun 2009 21:57:35 -0700 (PDT)
Local: Thurs, Jun 25 2009 12:57 am
Subject: Re: Workaround for Cytoscape + Latest Version of Apple Java VM Problem
I use 2.6.2 at home on a MacBook Pro on 10.5.7. The java fix above
works for me but i'm still having issues with dialogs having
unpredictable sizes. For example, the ManagePlugins dialog is about
3000 pixels wide and i still can't see the 'install' button. The
Import Attribute from Table/Excel has similar problems. If i resize
the dialog window, the dialog is filled with white space and i'm in
worse shape.

For a while, i went back to 2.6.1 where the ManagePlugins dialog at
least lets me see the Install button, but the Import Attributes dialog
problem persists.

Are all these issues due to the same Java problem?

BTW, at work i use a Linux workstation where these issues don't
exist.

I realize that i could use my VMware XP environment but performance
would likely suffer (whenever i use VMware even with 2GB ram dedicated
to the virtual environment, the laptop slows down).

On Jun 24, 10:17 am, Keiichiro Ono <kei...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google