[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    Re: [ jEdit-users ] help setting jedit up in linux
From:       Suraj Kurapati <skurapat () ucsc ! edu>
Date:       2006-02-15 18:57:44
Message-ID: 43F379A8.8000407 () ucsc ! edu
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tom wrote:
> I set my JAVA_HOME path to the sun JDK.

This may or may not work. A better approach, which I found always
works, is to use the full path to the Sun JDK when installing jEdit.
jEdit then takes care to remember that full path when it produces
its executable, so from then on, it will use the Sun JDK whenever
you run the 'jedit' command.

For example, my Sun JDK is located here: /home/sun/dry/apps/jdk1.5.0_05

I install jEdit like so:
/home/sun/dry/apps/jdk1.5.0_05/bin/java -jar jedit42install.jar

I tell the installer to create a 'jedit' executable inside my ~/bin
directory. Here is what it looks like; as you can see, it keeps
track of where the Sun Java is.

 #!/bin/sh
 # Java heap size, in megabytes
 JAVA_HEAP_SIZE=32
 DEFAULT_JAVA_HOME="/home/sun/dry/apps/jdk1.5.0_05/jre"
 if [ "$JAVA_HOME" = "" ]; then
 JAVA_HOME="$DEFAULT_JAVA_HOME"
 fi
 exec "$JAVA_HOME/bin/java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar
"/home/sun/dry/apps/jedit/4.2/jedit.jar" $@


> I want to think that under windows I had jEdit 4.2 final and
> sun's java 1.5 installed and working with code completion, but I don't
> remember if I actually had java 1.5 or if it was still the java 1.4.x.

I think code completion is part of the text editor itself, not
provided by any plugin. Maybe you're referring to SideKick plugin
which can automatically provide a popup completion menu?

> I really would like to use java 1.5 if it is possible
> to get code completion to work with it.

FYI, I've been using using jEdit 4.2 and 4.3pre1,2,3 with Sun Java
1.5.* for the past year without any problems on my GNU/Linux box.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD83momV9O7RYnKMcRAmVWAKCzkDwGoOKvot46hyBsT1ll24RrEgCgh/Zn
W9iLYSWtONL0BWOjhlFPF4A=
=1CWT
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic