You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Marta Rogers <ma...@mail.com> on 2016/12/22 22:12:47 UTC

Error: Could not find or load main class riotcmd.riot

I'm looking for a command line tool to convert between rdf formats (in particular I'm interested in n-quads, json-ld, trig)... but it looks like there isn't anything available except for jena. So, I've

1. installed OpenJDK-8 on Debian
2. downloaded and compiled Jena using this command [1]
3. followed the documentation [2] and run the command "./riot --help" from "./apache-jena/bin/"

Unfortunately however, I get the error "Error: Could not find or load main class riotcmd.riot" and I don't know where to go from here. How can I fix this, such that I can successfully run riot?

Thanks for any help.

[1] https://git-wip-us.apache.org/repos/asf?p=jena.git;a=blob;f=BUILD.md;h=0f0adbfd4a52a38481ea73db30cd27a71d6c9051;hb=HEAD#l52
[2] https://jena.apache.org/documentation/io/#command-line-tools

Re: Error: Could not find or load main class riotcmd.riot

Posted by "A. Soroka" <aj...@virginia.edu>.
Those links are (generously) supported by the Apache mirrors. The checksum and PGP signing provide a stronger imprimatur for your downloads, but if you prefer to use HTTPS, you can do that here:

https://archive.apache.org/dist/jena/binaries/

---
A. Soroka
The University of Virginia Library

> On Dec 23, 2016, at 9:32 AM, Marta Rogers <ma...@mail.com> wrote:
> 
>> Sent: Friday, December 23, 2016 at 3:21 PM
>> From: "Andy Seaborne" <an...@apache.org>
>> To: users@jena.apache.org
>> Subject: Re: Error: Could not find or load main class riotcmd.riot
>> 
>> 
>> 
>> On 22/12/16 23:10, A. Soroka wrote:
>>> If you just want to use riot at the command line, I strongly suggest just downloading Jena's prebuilt artifacts:
>>> 
>>> https://jena.apache.org/download/index.cgi
>>> 
>>> You'll find that more straightforward.
>> 
>> +1
> 
> 
> Why aren't binaries served over HTTPS though? I know there is the MD5, but why HTTP?


Re: Error: Could not find or load main class riotcmd.riot

Posted by Marta Rogers <ma...@mail.com>.
> Sent: Friday, December 23, 2016 at 3:21 PM
> From: "Andy Seaborne" <an...@apache.org>
> To: users@jena.apache.org
> Subject: Re: Error: Could not find or load main class riotcmd.riot
>
> 
> 
> On 22/12/16 23:10, A. Soroka wrote:
> > If you just want to use riot at the command line, I strongly suggest just downloading Jena's prebuilt artifacts:
> >
> > https://jena.apache.org/download/index.cgi
> >
> > You'll find that more straightforward.
> 
> +1


Why aren't binaries served over HTTPS though? I know there is the MD5, but why HTTP?

Re: Error: Could not find or load main class riotcmd.riot

Posted by Andy Seaborne <an...@apache.org>.

On 22/12/16 23:10, A. Soroka wrote:
> If you just want to use riot at the command line, I strongly suggest just downloading Jena's prebuilt artifacts:
>
> https://jena.apache.org/download/index.cgi
>
> You'll find that more straightforward.

+1

>
> ---
> A. Soroka
> The University of Virginia Library
>
>> On Dec 22, 2016, at 5:12 PM, Marta Rogers <ma...@mail.com> wrote:
>>
>> I'm looking for a command line tool to convert between rdf formats (in particular I'm interested in n-quads, json-ld, trig)... but it looks like there isn't anything available except for jena. So, I've
>>
>> 1. installed OpenJDK-8 on Debian
>> 2. downloaded and compiled Jena using this command [1]
>> 3. followed the documentation [2] and run the command "./riot --help" from "./apache-jena/bin/"

You will need to unpack the zip file in module "apache-jena".

This is what you need to do if you download pre-built binaries - you 
have made one of the distributions, so you need to install it

	Andy
>>
>> Unfortunately however, I get the error "Error: Could not find or load main class riotcmd.riot" and I don't know where to go from here. How can I fix this, such that I can successfully run riot?
>>
>> Thanks for any help.
>>
>> [1] https://git-wip-us.apache.org/repos/asf?p=jena.git;a=blob;f=BUILD.md;h=0f0adbfd4a52a38481ea73db30cd27a71d6c9051;hb=HEAD#l52
>> [2] https://jena.apache.org/documentation/io/#command-line-tools
>

Re: Error: Could not find or load main class riotcmd.riot

Posted by "A. Soroka" <aj...@virginia.edu>.
If you just want to use riot at the command line, I strongly suggest just downloading Jena's prebuilt artifacts:

https://jena.apache.org/download/index.cgi

You'll find that more straightforward.

---
A. Soroka
The University of Virginia Library

> On Dec 22, 2016, at 5:12 PM, Marta Rogers <ma...@mail.com> wrote:
> 
> I'm looking for a command line tool to convert between rdf formats (in particular I'm interested in n-quads, json-ld, trig)... but it looks like there isn't anything available except for jena. So, I've
> 
> 1. installed OpenJDK-8 on Debian
> 2. downloaded and compiled Jena using this command [1]
> 3. followed the documentation [2] and run the command "./riot --help" from "./apache-jena/bin/"
> 
> Unfortunately however, I get the error "Error: Could not find or load main class riotcmd.riot" and I don't know where to go from here. How can I fix this, such that I can successfully run riot?
> 
> Thanks for any help.
> 
> [1] https://git-wip-us.apache.org/repos/asf?p=jena.git;a=blob;f=BUILD.md;h=0f0adbfd4a52a38481ea73db30cd27a71d6c9051;hb=HEAD#l52
> [2] https://jena.apache.org/documentation/io/#command-line-tools