Discussion:
[Jxplorer-users] Jxplorer Start-up error
Graeme Gemmill
2013-03-07 14:21:06 UTC
Permalink
Installed Jxplorer 3.3.02 on this Madriva 2011_x64 box, with Java jdk
1.7.0_17 installed. Please tell me where
com.ca.directory.jxplorer.JXplorer should be found. Error message was
Exception in thread "main" java.lang.NoClassDefFoundError:
com.ca.directory.jxplorer.JXplorer
at gnu.java.lang.MainThread.run(libgcj.so.12)
Caused by: java.lang.ClassNotFoundException:
com.ca.directory.jxplorer.JXplorer not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

Thanks
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Chris Betts
2013-03-07 22:40:07 UTC
Permalink
Hi Graeme,

'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.

... as a side note, I'm not sure if JXplorer runs under gcj; it used to
be that the gcj support for Swing was limited? (I'd be interested to know
if this was no longer the case :-) ).

hope that helps,

- Chris
Post by Graeme Gemmill
Installed Jxplorer 3.3.02 on this Madriva 2011_x64 box, with Java jdk
1.7.0_17 installed. Please tell me where
com.ca.directory.jxplorer.JXplorer should be found. Error message was
com.ca.directory.jxplorer.JXplorer
at gnu.java.lang.MainThread.run(libgcj.so.12)
com.ca.directory.jxplorer.JXplorer not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
Thanks
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
Graeme Gemmill
2013-03-08 10:58:18 UTC
Permalink
Post by Chris Betts
Hi Graeme,
'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.
... as a side note, I'm not sure if JXplorer runs under gcj; it
used to be that the gcj support for Swing was limited? (I'd be
interested to know if this was no longer the case :-) ).
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Chris,
Thank you for your reply. Apart from downloading the latest JRE as
an environment for Firefox, I have no experience of the Java area. So I
don't know why something called a GNU Compiler for Java should be a
problem, or what the alternative might be. Could you point me in the
right direction? (it's bad enough having to get to grips with Open
LDAP - I had hoped that installing the browser would be the easy part!)
Many thanks
Graeme
Chris Betts
2013-03-08 11:07:18 UTC
Permalink
HI Graeme,

try http://www.java.com to get the 'official' package (it's
complicated...).

However you should be able to grab it as part of the normal linux
packaging; the following Mandriva forum post might be useful? (I see from
your sig you're using Mandriva?)

http://forum.mandriva.com/en/viewtopic.php?f=11&t=137909

cheers,

- Chris
Post by Chris Betts
Hi Graeme,
'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.
... as a side note, I'm not sure if JXplorer runs under gcj; it used
to be that the gcj support for Swing was limited? (I'd be interested to
know if this was no longer the case :-) ).
Post by Graeme Gemmill
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Chris,
Thank you for your reply. Apart from downloading the latest JRE as an
environment for Firefox, I have no experience of the Java area. So I don't
know why something called a GNU Compiler for Java should be a problem, or
what the alternative might be. Could you point me in the right direction?
(it's bad enough having to get to grips with Open LDAP - I had hoped that
installing the browser would be the easy part!)
Many thanks
Graeme
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
Sergio Gelato
2013-03-08 11:45:08 UTC
Permalink
Post by Chris Betts
HI Graeme,
try http://www.java.com to get the 'official' package (it's
complicated...).
However you should be able to grab it as part of the normal linux
packaging;
Not the package Oracle publishes at java.com, no; they withdrew the
distribution-friendly license some time ago. Linux distributions are now
expected to ship OpenJDK, which is almost (not quite, but probably close
enough for JXplorer's needs) the same thing.

Graeme probably just needs to make the JAVA_HOME environment variable point
to his Oracle JDK installation before running the jxplorer wrapper script.
Post by Chris Betts
the following Mandriva forum post might be useful? (I see from
your sig you're using Mandriva?)
http://forum.mandriva.com/en/viewtopic.php?f=11&t=137909
cheers,
- Chris
Post by Chris Betts
Hi Graeme,
'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.
... as a side note, I'm not sure if JXplorer runs under gcj; it used
to be that the gcj support for Swing was limited? (I'd be interested to
know if this was no longer the case :-) ).
Post by Graeme Gemmill
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Chris,
Thank you for your reply. Apart from downloading the latest JRE as an
environment for Firefox, I have no experience of the Java area. So I don't
know why something called a GNU Compiler for Java should be a problem, or
what the alternative might be. Could you point me in the right direction?
(it's bad enough having to get to grips with Open LDAP - I had hoped that
installing the browser would be the easy part!)
Many thanks
Graeme
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Chris Betts
2013-03-08 12:11:06 UTC
Permalink
Hi Graeme,

I'm afraid I'm pretty useless on Linux, so I'd try Sergio's suggestion!

'jxplorer.jar' should be around 900kb or so; if you unpack it with unzip
or similar you should find a file
/com/ca/directory/jxplorer/JXplorer.class, which is the main class java is
looking for.

- Chris
Post by Sergio Gelato
Post by Chris Betts
HI Graeme,
try http://www.java.com to get the 'official' package (it's
complicated...).
However you should be able to grab it as part of the normal linux
packaging;
Not the package Oracle publishes at java.com, no; they withdrew the
distribution-friendly license some time ago. Linux distributions are now
expected to ship OpenJDK, which is almost (not quite, but probably close
enough for JXplorer's needs) the same thing.
Graeme probably just needs to make the JAVA_HOME environment variable point
to his Oracle JDK installation before running the jxplorer wrapper script.
Post by Chris Betts
the following Mandriva forum post might be useful? (I see
from
Post by Chris Betts
your sig you're using Mandriva?)
http://forum.mandriva.com/en/viewtopic.php?f=11&t=137909
cheers,
- Chris
Post by Chris Betts
Hi Graeme,
'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.
... as a side note, I'm not sure if JXplorer runs under gcj; it
used
Post by Chris Betts
Post by Chris Betts
to be that the gcj support for Swing was limited? (I'd be interested
to
Post by Chris Betts
Post by Chris Betts
know if this was no longer the case :-) ).
Post by Graeme Gemmill
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Chris,
Thank you for your reply. Apart from downloading the latest JRE as
an
Post by Chris Betts
Post by Chris Betts
environment for Firefox, I have no experience of the Java area. So I
don't
Post by Chris Betts
Post by Chris Betts
know why something called a GNU Compiler for Java should be a problem,
or
Post by Chris Betts
Post by Chris Betts
what the alternative might be. Could you point me in the right
direction?
Post by Chris Betts
Post by Chris Betts
(it's bad enough having to get to grips with Open LDAP - I had hoped
that
Post by Chris Betts
Post by Chris Betts
installing the browser would be the easy part!)
Many thanks
Graeme
------------------------------------------------------------------------------
Post by Chris Betts
Post by Chris Betts
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
------------------------------------------------------------------------------
Post by Chris Betts
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
Graeme Gemmill
2013-03-08 13:21:49 UTC
Permalink
Post by Sergio Gelato
Post by Chris Betts
HI Graeme,
try http://www.java.com to get the 'official' package (it's
complicated...).
However you should be able to grab it as part of the normal linux
packaging;
Not the package Oracle publishes at java.com, no; they withdrew the
distribution-friendly license some time ago. Linux distributions are now
expected to ship OpenJDK, which is almost (not quite, but probably close
enough for JXplorer's needs) the same thing.
Graeme probably just needs to make the JAVA_HOME environment variable point
to his Oracle JDK installation before running the jxplorer wrapper script.
That did it, thanks Sergio. Now I have to work out why the DISPLAY
variable isn't recognised:
"Can't connect to X11 window server using '192.168.2.11' as the value of
the DISPLAY variable."

Graeme
Berend De Schouwer
2013-03-08 13:40:21 UTC
Permalink
Post by Graeme Gemmill
Post by Sergio Gelato
Post by Chris Betts
HI Graeme,
try http://www.java.com to get the 'official' package (it's
complicated...).
However you should be able to grab it as part of the normal linux
packaging;
Not the package Oracle publishes at java.com, no; they withdrew the
distribution-friendly license some time ago. Linux distributions are now
expected to ship OpenJDK, which is almost (not quite, but probably close
enough for JXplorer's needs) the same thing.
Graeme probably just needs to make the JAVA_HOME environment variable point
to his Oracle JDK installation before running the jxplorer wrapper script.
That did it, thanks Sergio. Now I have to work out why the DISPLAY
"Can't connect to X11 window server using '192.168.2.11' as the value of
the DISPLAY variable."
DISPLAY expects host:server

Usually 192.168.2.11:0 unless you have more than one X11 server on
192.168.2.11. If it's on the same machine, :0 is shorthand.

:1 for second server (eg. VNC virtual monitor; second
monitor/keyboard/mouse)

:10 usually means remote X11 server over an SSH channel.

If you manually change your DISPLAY variable, also keep track of
XAUTHORITY to have permission to connect to your DISPLAY.
Post by Graeme Gemmill
Graeme
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Graeme Gemmill
2013-03-09 12:18:28 UTC
Permalink
Post by Berend De Schouwer
DISPLAY expects host:server
Usually 192.168.2.11:0 unless you have more than one X11 server on
192.168.2.11. If it's on the same machine, :0 is shorthand.
:1 for second server (eg. VNC virtual monitor; second
monitor/keyboard/mouse)
:10 usually means remote X11 server over an SSH channel.
If you manually change your DISPLAY variable, also keep track of
XAUTHORITY to have permission to connect to your DISPLAY.
Thanks Berend, that will come in useful later. Typically, within a
couple of minutes posting that, I googled and found that DISPLAY="0.0"
would work for the local display.
Regards
Graeme

Graeme Gemmill
2013-03-08 11:52:51 UTC
Permalink
Post by Chris Betts
Hi Graeme,
'normally' if you're running the shell script from the JX install
directory it will try to load the JXplorer main class from
jars/jxplorer.jar.
I explored the content of jars/jxplorer.jar with Arc. The only reference
to com.ca.directory.jxplorer.JXplorer is in a file called MANIFEST.MF.
I have both jdk1.7.0_17 and jre1.7.0_17 installed under /usr/java.
Are there any PATH environment variables to be set?
Post by Chris Betts
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Loading...