distal-attribute
distal-attribute
distal-attribute
distal-attribute

jHeidi 5 in Ubuntu Linux

TRiG_Ireland posted 6 years ago in jHeidi (discontinued)
Hi.

I've been trying to get the latest version of jHeidi to run on my Ubuntu machine, and I'm having problems with it. A chap at the Ubuntu forums has been very helpful. He's got the program to run, but it won't actually start. (Problems detailed over there, but I can repost them here if you find it easier.)

TRiG.:)
servertude posted 6 years ago
Did you download the latest build from http://jheidi.com or use the autoupdate feature?

Ill download and double check the build tonight, jHeidi is developed on linux so soomething odd mustve occurred in the build last night.
servertude posted 6 years ago
unzipped the latest on ubuntu. Chmodded the jheidi script.

Ran fine.

:D
TRiG_Ireland posted 6 years ago
I downloaded it from here.

I'll try it again and report back.

TRiG.:)
TRiG_Ireland posted 6 years ago

$ cd sql
$ ./jheidi



configuring logging from system property log4jconfig=logs/log4jconfig.xml

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Cant load AutoUpdater:AppProps!
at com.rendion.ajl.AutoUpdater$AppProps.<init>(Unknown Source)
at com.rendion.ajl.AutoUpdater.<init>(Unknown Source)
at jheidi.run(jheidi.java:19)
at com.rendion.ajl.AjlScript.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.rendion.ajl.Loader.run(Unknown Source)
at com.rendion.ajl.Loader.runScript(Unknown Source)
at com.rendion.ajl.Loader.runScript(Unknown Source)
at com.rendion.ajl.ScriptHelper.script(Unknown Source)
at com.rendion.ajl.AjlScript$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.io.FileNotFoundException: .autoupdater (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
... 21 more



I'll try doing the simple thing: I'll delete it and download it again in case I have a corrupt version. (Though I have already tried that once.)

TRiG.:)
servertude posted 6 years ago
Have you moved the jheidi script from its location or create a gnome shortcut to it?

there is a hidden file named .autoupdater which is in the root directory of the application. Make sure it is there. If not I dont know what to do about that since when I download it the file is there.

You must run the script from the root directory of the application it can not be relocated.

Let me know if any of this helps. Please when you download confirm that the hidden file is there by "Showing Hidden Files" in Nautilus.
servertude posted 6 years ago
A friend of mine had this problem because he unzipped the application and then did a copy and paste of all the files to a different location.

When you do this with hidden files not showing, you are actually not copying all the files in the application dir.

Either unzip the application to tyhe location you want, or copy the application's root folder and do not "select all" the files in the application dir without hidden files turned on.
TRiG_Ireland posted 6 years ago
So, as I suspected, it was my fault. It usually is.

I'm still a Linux neonate. Thanks for the help.

It's working now. Might I suggest one tiny improvement?

Could error messages appear in a pop-up box, not just in the SQL log? I have a small screen, and often don't have the log showing. And sometimes it's hard to know whether something's gone wrong or the computer is just taking its time.

But I suppose this sort of thing should be in a different thread.

TRiG.
servertude posted 6 years ago
jHeidi follows HeidiSQL in that regard but the reason is simple. In the course of doing lots of queries, running scripts, errors happen.

The log provides context of the error and allows you to walk away while a script is running and come back and see if there are errors.

A popup error can be a bit annoying as it has to be cleared before you can continue using the application.

But I will say it might be a decent option in the preferences to turn popup errors on or off, so thanks for the idea!

Please login to leave a reply, or register at first.