You are not logged in.

#1 2005-04-14 18:57:46

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

JD4X

I see jd4x (http://jdx.sf.net/) has released a new version. I'd like to try it.... so I installed it locally.  When I run it, I get a NullPointerException -- it runs, but doesn't work. Has anybody else had any luck with this one? I'll try again next week maybe when I have time to try to compile it from source.

I figure a Java desktop would be about as cool as it could get... unless it was an immersive 3D Java environment, of course...

Dusty

Offline

#2 2005-04-14 19:18:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: JD4X

Dusty wrote:

When I run it, I get a NullPointerException -- it runs, but doesn't work. Has anybody else had any luck with this one?

errmm... is it upstream or not? I may try it out later on see if I can run it - but then again, I tend to get errors that are totally not reproducable on anyone else's machine 8)

Offline

#3 2005-04-15 20:18:53

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: JD4X

Apparently, the download link hadn't been properly updated. I talked to the maintainer and everything's working now. I'm actually inside a desktop written in Java right now, this is kinda neat.

Dusty

Offline

#4 2005-04-15 21:10:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: JD4X

yeah the screenshots look cool... how's the performance?

Offline

#5 2005-04-16 01:32:54

soniX
Member
From: Oslo, Norway
Registered: 2004-01-23
Posts: 161

Re: JD4X

its a very promising project. I tried the 0.4 version some time ago, and its quite snappy actually. Also looks like it supports tiger now.. thats good news, and someone should really make an arch package of it... (perhaps it will even run with kaffe wink )

Offline

#6 2005-04-16 01:36:57

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: JD4X

Dusty,
That looks pretty kewl so I thought I'd give it a shot.  I was wondering, did you install it on arch?  I assume you did.  How did you install it?  Here's what I get:

[root@localhost Documents]# java -jar install.jar -z
 [INFO   ]-[jd4x.modules.installer.JXInstaller]-[Extracting files to /usr/local/]
 [INFO   ]-[jd4x.modules.installer.JXInstaller]-[Checking for old copy in current directory ...]
 [INFO   ]-[jd4x.modules.installer.JXInstaller]-[done]
 [INFO   ]-[jd4x.modules.installer.JXInstaller]-[Decompressing install.jar ...]
 [ERROR  ]-[jd4x.modules.installer.JXInstaller]-[Unable to successfully install package, you might not have permission to install in /usr/local/ or that you do not have permission to install.jar]
 [DEBUG  ]-[Trace 33]-[java.lang.UNIXProcess.<init>(Unknown Source)]
 [DEBUG  ]-[Trace 32]-[java.lang.ProcessImpl.start(Unknown Source)]
 [DEBUG  ]-[Trace 31]-[java.lang.ProcessBuilder.start(Unknown Source)]
 [DEBUG  ]-[Trace 30]-[java.lang.Runtime.exec(Unknown Source)]
 [DEBUG  ]-[Trace 29]-[java.lang.Runtime.exec(Unknown Source)]
 [DEBUG  ]-[Trace 28]-[java.lang.Runtime.exec(Unknown Source)]
 [DEBUG  ]-[Trace 27]-[jd4x.modules.installer.JXInstaller.unzipPackage(JXInstaller.java:571)]
 [DEBUG  ]-[Trace 26]-[jd4x.modules.installer.JXInstaller.access$1200(JXInstaller.java:40)]
 [DEBUG  ]-[Trace 25]-[jd4x.modules.installer.JXInstaller$UnpackDialogAction.actionPerformed(JXInstaller.java:798)]
 [DEBUG  ]-[Trace 24]-[javax.swing.AbstractButton.fireActionPerformed(Unknown Source)]
 [DEBUG  ]-[Trace 23]-[javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)]
 [DEBUG  ]-[Trace 22]-[javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)]
 [DEBUG  ]-[Trace 21]-[javax.swing.DefaultButtonModel.setPressed(Unknown Source)]
 [DEBUG  ]-[Trace 20]-[javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)]
 [DEBUG  ]-[Trace 19]-[java.awt.Component.processMouseEvent(Unknown Source)]
 [DEBUG  ]-[Trace 18]-[javax.swing.JComponent.processMouseEvent(Unknown Source)]
 [DEBUG  ]-[Trace 17]-[java.awt.Component.processEvent(Unknown Source)]
 [DEBUG  ]-[Trace 16]-[java.awt.Container.processEvent(Unknown Source)]
 [DEBUG  ]-[Trace 15]-[java.awt.Component.dispatchEventImpl(Unknown Source)]
 [DEBUG  ]-[Trace 14]-[java.awt.Container.dispatchEventImpl(Unknown Source)]
 [DEBUG  ]-[Trace 13]-[java.awt.Component.dispatchEvent(Unknown Source)]
 [DEBUG  ]-[Trace 12]-[java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)]
 [DEBUG  ]-[Trace 11]-[java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)]
 [DEBUG  ]-[Trace 10]-[java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)]
 [DEBUG  ]-[Trace 9]-[java.awt.Container.dispatchEventImpl(Unknown Source)]
 [DEBUG  ]-[Trace 8]-[java.awt.Window.dispatchEventImpl(Unknown Source)]
 [DEBUG  ]-[Trace 7]-[java.awt.Component.dispatchEvent(Unknown Source)]
 [DEBUG  ]-[Trace 6]-[java.awt.EventQueue.dispatchEvent(Unknown Source)]
 [DEBUG  ]-[Trace 5]-[java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)]
 [DEBUG  ]-[Trace 4]-[java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)]
 [DEBUG  ]-[Trace 3]-[java.awt.EventDispatchThread.pumpEvents(Unknown Source)]
 [DEBUG  ]-[Trace 2]-[java.awt.EventDispatchThread.pumpEvents(Unknown Source)]
 [DEBUG  ]-[Trace 1]-[java.awt.EventDispatchThread.run(Unknown Source)]
[root@localhost Documents]#                                       

Also, Java is installed and works great.

[root@localhost Documents]# java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

Mentions permissions, but I'm installing as root, so that's not a problem.  Any thoughts?
Thanks,
Tim

Offline

#7 2005-04-17 21:38:07

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: JD4X

I'll build a PKGBUILD when I have time. That will either be in the next three days, OR else sometime next month, as I am going on vacation on Thursday.

I was able to run the installer without a problem. I installed as a normal user to ~/bin.

I haven't been able to compile the damn thing, but I'll work it out. Tay likes to have feedback, so I'm sure he'll be glad to give me a hand.

Dusty

Offline

#8 2005-04-19 17:52:26

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: JD4X

Ok, I've hacked together a PKGBUILD that sort of works. The Makefiles on this thing are pretty hard to work with.

There are two possible wms, the defaultwm, which is a sort of demo, and zesktop, which is meant to be production quality. I only include zesktop here, as I'm not certain how to pick and choose.

Here's the AUR entry:
http://aur.archlinux.org/packages.php?d … s=1&ID=526

I'm amazed that a production quality window manager can be coded in Java... This isn't production quality, but by using it, I can see that it will be one day!  If it supported hot keys, I might actually use it on a day to day basis for a while. maybe I should write a hotkey module...

Have fun!

Dusty

Offline

#9 2005-04-19 22:56:44

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: JD4X

Thanks a lot man.  Really appreciate the work you put into this.
big_smile

Offline

Board footer

Powered by FluxBB