Java problem

Ed Greshko Ed.Greshko at greshko.com
Tue Jan 1 15:00:33 UTC 2008


Karl Larsen wrote:
> Ed Greshko wrote:
>> Karl Larsen wrote:
>>  
>>> Les Mikesell wrote:
>>>    
>>>> Mikkel L. Ellertson wrote:
>>>>
>>>>      
>>>>>>> Your complaints about the GPL always boil down to the             
>>>    Returning to Java, I have installed the one from the Sun web site.
>>> It is an rpm with a wrapper that allows them to force you to sign
>>> something. Then it installs something but it must be incomplete.
>>>
>>>    I want java so I can load jedit so I can write to the wiki at the
>>> Fedora Doc's site. It is supposed to be simple. The jedit site said do
>>> this:
>>>
>>> $ jar jedit4.3pre12install.jar
>>>
>>> but alas there is no active jar on my Fedora. Earlier Fedora it worked
>>> but on F8 it doesn't.
>>>
>>> What have I done wrong?
>>>
>>>     
>> I don't know what you did wrong.  But on my F8 system I did install
>> Sun's jdk (jdk-6u3-linux-i586.rpm)
>> and there is /usr/bin/jar.
>>
>>
>>
>>
>>   
>    I looked and no /usr/bin/jar but there is a /usr/bin/java which
> lead to gij which seems to work but not. It did this:
>
> [karl at k5di Desktop]$ gij jedit4.3pre12install.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
> jedit4.3pre12install.jar
>   at gnu.java.lang.MainThread.run(libgcj.so.8rh)
> Caused by: java.lang.ClassNotFoundException: jedit4.3pre12install.jar
> not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>   at java.net.URLClassLoader.findClass(libgcj.so.8rh)
>   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.8rh)
>   at java.lang.ClassLoader.loadClass(libgcj.so.8rh)
>   at java.lang.ClassLoader.loadClass(libgcj.so.8rh)
>   at gnu.java.lang.MainThread.run(libgcj.so.8rh)
> [karl at k5di Desktop]$
>
> It appears that the jedit file may be bad.
Nope...

java -jar jedit42install.jar

Works just fine here...
>
> Geeze
Yes...but for a different reason.  :-)
>
> Karl
>
>


-- 
To him breathing was an intellectual that had to be concentrated on. He
could just manage one nostril at a time at the moment. (Hogfather)




More information about the users mailing list