Hi David,

>From the provided error message:

David Vincent-Jones-3 wrote:
> 
> [EMAIL PROTECTED]:~$ ~/j601/jw
> [...]
>    at javax.swing.JComponent.setNextFocusableComponent(libgcj.so.81)
> [...]
> 
It looks to me that jw is still using GNU Java (libgcj).

I've just installed J yesterday on GNU/Linux (a.k.a Debian), including 
SUN Java, and jw so far works fine.  The operation should be doable
by GUI.  Here are the steps:

(no root privileges are needed to do this)

1. Download the appropriate package
   from http://www.java.com/en/download/linux_manual.jsp
2. make a directory somewhere, e.g SUNjava in your home directory,
~/SUNJava.
3. copy there the downloaded program and run it.  This creates one directory
    (let's say jre1.6.0_64, so it is ~/SUNjava/jre1.6.0_64)
4. modify one line in ~/j601/jw from 
   java <the rest>
   to:
    ~/SUNjava/jre1.6.0_64/bin/java <the rest>
   ("Terminal stuff" line for this step would be:
      sed -i "s#^java #~/SUNjava/jre1.6.0_64/bin/java #" ~/j601/wd
   )

That's it.  jw should start up J's IDE using SUN's Java and work fine now.

Notice that this whole installation does not change Java that the rest of
your system is using, nor does the above installation get recorded 
in your package management system.

I hope this helps.

Viktor

PS:
So far I have been very impressed by the way that Ubuntu handles the
> installation of programs without any need to resort to 'Terminal Stuff';
> maybe one day J will install the same way. 
> 
Or, for that matter, Java.

-- 
View this message in context: 
http://www.nabble.com/Linux-install-tf4940418s24193.html#a14177114
Sent from the J Chat mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to