*** PortableApps.com Platform and Suite 1.6 have been released! ***

jEdit Portable 4.2.0 Dev Test 3

Submitted by rab040ma on February 23, 2008 - 5:24pm

Application: jEdit.

Category: Development, Programmer's Editor

License: GPL and Apache (?)

Description: jEdit Portable is a professional text editor.

Download: (right click won't work). || MD5: 37d353dd9e578863357a2036a57c109e || 2008-02-25 19:17 EST.

Release Notes:

This is a Java program. It is configured to use the same java settings created for OpenOffice.org Portable.

dev test 2: fixed some problems with AdjustPaths
dev test 3: fixed some references to other programs, tested ini file


( categories: )

Always looking for the best editor

Thanks, it supports Rexx & Inform, that's a good start...

jEdit or Babiloo?

Looks like you missed some changes from Babiloo?

is

Other\Source\AppSource.txt
Other\Source\JeditPortable.ini
Other\Source\Readme.txt

App\AppInfo\appinfo.ini

are all unchanged from when you did Babiloo.

I tried and tried, couldn't disable the splash screen, it's annoying when jEdit puts its own up too.

Jeff

Thanks for catching that. I

Thanks for catching that. I thought I had gone through that step, but evidently missed it on this one. Shouldn't affect operation.

I'll take a look at the splash screen functionality. I hope to have a new version up within a day or two.

John wants the Portable splash to fade into the app's own splash. You can take it up with him whether that default behavior is annoying. Eye-wink

MC

Development test 3 is

Development test 3 is available now. It seems to honor the disable splash screen setting in the ini, and has had those references cleaned up.

MC

Cross-platform?

Does the application, as packaged, still function cross-platform? If I went and used it on a Linux system, would it still used the profile in jEditPortable/Data/.jedit ?

Rob -Scrape- French

Cross-platform?

Does the application, as packaged, still function cross-platform? If I went and used it on a Linux system, would it still used the profile in jEditPortable/Data/.jedit ?

Rob -Scrape- French

Hi Rob, On Linux, the .jedit

Hi Rob,

On Linux, the .jedit directory is normally found in the home directory (e.g. /home/scrape/.jedit). On Windows, the .jedit directory is normally found in Documents and Settings, e.g. "C:\Documents and Settings\Scrape\.jedit" (or maybe in AppDir, it doesn't matter).

jEdit Portable uses a windows launcher to start the program in such a way that it uses a Java runtime found on the USB drive (in the place set up for OpenOffice.org), and redirects the .jedit directory to the place you mention, in the .\Data directory on the USB drive. One particular consideration is that the launcher won't work as a native application under Linux. (It might under Wine, but I'm not sure why you would want to.)

The main trick the launcher uses is to call java(w) with a -D command line option, specifically -Duser.home="$SETTINGSDIRECTORY" as well as -jar "$PROGRAMDIRECTORY\${DEFAULTJAR}". If you can set up a shell script to launch whatever java runtime is available on the linux box, with the -D command line option pointing user.home to the USB drive instead of ~/, and -jar pointing to the jedit.jar file on the USB drive at ./PortableApps/jEditPortable/App/Jedit/jedit.jar, that should do it.

The main trick would be that the USB drive might not be mounted at the same point on different linux machines, so an absolute path might not work. So you'd need a shell script that was able to parse out the correct directory/path and substitute it in the right place, or use relative paths that worked consistently. There's the other tricks too, such as getting around the FAT32 filesystem on the USB drive, which might not mark things as executable.

Next time I have some quality time with a Linux box I'll experiment and see if I can come up with something.

Bottom line: if one makes a shell script to parse out the paths, launch java and tell it to look for the .jedit directory in the right place on the USB drive, that would be be most of what you are talking about. The jar files are cross platform (as far as I know), and the data stored in the .jedit directory is cross platform as well.

MC

How is this going

I installed the JDK to the flash drive
kind of like this page http://www.dreamincode.net/forums/showtopic42544.htm
will this still work or can I change a ini setting?

I do not have openoffice installed since I am trying to save room for all of my
files that I need to lug around with me.

thanks

The Java Portablizer

The Java Portablizer described for OpenOffice.orgPortable doesn't require that OpenOffice.org is installed. Sorry if that is not clear. The description there is generic for any program that wants to use Java, and doesn't require you to install OpenOffice.org first. It's set up so you only have to install Java once on your portable drive, and all such programs (including OpenOffice.org) will find and use it. (Unfortunately some programs, like FireFox, insist on looking in the host computer's registry to find Java, and the Java portablizer doesn't mess with the registry, so those programs probably won't use the portablized Java -- but they probably won't find it with dreamincode's setup either.)

If by chance the "kind of like this page" kind of looks the same as the portablized Java described above, jEdit will find and use it; otherwise it will try to use a Java that is installed on the host computer in a more conventional way. In particular, if javaw.exe is found in PortableApps\CommonFiles\Java\bin, it will be used. Anywhere else and it won't.

The source code of the launcher is included with the package; if you'd like to tell it to look somewhere else first for a JRE/JVM, it's probably just a small change to the source code. Compiling the launcher with NSIS is pretty easy, once you get all the required plugins added to the NSIS install.

The main difference between the JavaPortablizer on the OpenOffice.org Portable page and the one at dreamincode.net is that the one on the OpenOffice.org Portable page specifies a path relative to where the PortableAppsPlatform.exe (or menu) is stored, where the dreasmincode one tells you to put it anywhere. In particular, if you create the bat file suggested at dreamincode to point to the Java set up according to the description at the OpenOffice.org Portable page, you'll have your JRE set up the same.

BTW, in the js.bat file described at dreamincode's page, I'd probably add two environment variables: JAVA_HOME and JRE_HOME, in addition to adding Java's bin to the PATH. Doesn't work all the time, but it helps with some programs.

MC

Any further work being done?

Is there any further work being done on this?

If not, I think I would like to chip in and possibly take over.

-- Art

____________________
Art Cowles

"Life is messy!"