Hello Carlos,

I have used this jdk6u31 but whenever i m going to use
.../dspace/bin/dpsace  command for filter-media or import, it gives me same
error


bin]$ ./dspace filter-media
> Exception in thread "main" java.lang.ClassFormatError:
org.dspace.app.launcher.ScriptLauncher (unrecognized class file version)
>    at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
>    at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
>    at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
>    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
>    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>    at gnu.java.lang.MainThread.run(libgcj.so.7rh)





On Thu, Mar 22, 2012 at 7:53 PM, DSpace <[email protected]> wrote:

>  Abishek,****
>
> ** **
>
> I don’t believe JDK 7 is supported by DSpace at the moment.****
>
> Use the following link to acquire JDK6u31.
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31-download-1501634.html
> ****
>
> ** **
>
> Carlos****
>
> ** **
>
> *From:* Abhishek Raval [mailto:[email protected]]
> *Sent:* Wednesday, March 21, 2012 11:53 PM
> *To:* [email protected]
> *Subject:* Re: [Dspace-tech] DSpace-tech Digest, Vol 68, Issue 11****
>
> ** **
>
> Hello Stuart,****
>
> ** **
>
> I have installed JDK from oracle (
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html)
> but i m still facing the same problem ****
>
>  ****
>
>
>
> ---------- Forwarded message ----------
> From: Stuart Lewis <[email protected]>
> To: Abhishek Raval <[email protected]>
> Cc: "[email protected] Tech" <
> [email protected]>
> Date: Tue, 6 Dec 2011 05:30:54 +0000
> Subject: Re: [Dspace-tech] Exception in thread "main" java.lang.
> ClassFormatError: org/dspace/app/launcher/ScriptLauncher
> Hi Abhishek,
>
> It looks like you are using the GNU libgcj version of Java.  DSpace
> requires the use of the Sun / Oracle JDK.  Swapping to the Sun / Oracle
> version might help with this problem.
>
> Thanks,
>
>
> Stuart Lewis
> Digital Development Manager
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
>
>
> On 6/12/2011, at 6:00 PM, Abhishek Raval wrote:
>
> > Hello Helix,
> >
> > I hv installed dspace-1.7.2 in red hat 5.5 .....every thing is done act
> i can see the UI ....but i m not able to make any administrator ....i made
> that by entering required data in POSTGRES and made a admin ;) but wen it
> comes to indexing this i do need to run a command n that is not happening :(
> >
> >
> > any idea wat sud i do now ????
> >
> > error is
> >
> >          bin]$ ./dspace filter-media
> > Exception in thread "main" java.lang.ClassFormatError:
> org.dspace.app.launcher.ScriptLauncher (unrecognized class file version)
> >    at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
> >    at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
> >    at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
> >    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
> >    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
> >    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> >    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> >    at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> >
> >
> >
> >
> >
> > On Mon, Dec 5, 2011 at 5:00 PM, helix84 <[email protected]> wrote:
> > On Mon, Dec 5, 2011 at 11:39, Abhishek Raval <[email protected]>
> wrote:
> > >  I am also getting the same problem .....in dspace
> create-administrator & in
> > > dspace filter-media
> > >  how do i resolve this proble ???
> > >
> > > I am using dspace-1.7.2 ........
> >
> > Hello Abishek,
> > my explanation also applies to your dspace version - you need to
> > actually install dspace before you run those scripts. Look at the
> > documentation I linked to.
> >
> > Regards,
> > ~~helix84
> >
> >
> >
> > --****
>
>  ** **
>
> ** **
>
> --
> Thanks in advance
> Abhishek Raval
> Ph no.-+919601077584****
>



-- 
Thanks n Regards
Abhishek Raval
Software Engg.
Webinito Networks
Ph no.-+919601077584
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to