Automating Backup Java Error

Hey there,

So I am trying to use CLI on admin cmd combined with Windows Task Schedular
to automate Briefcase backups from Aggregate using the code (copied below)
as scripted by ODK. However, every time I run the lines, i get an error
'unable to find jar file'. I have looked through some java forums but can't
work out what I am missing.

Any help would be greatly appreciated.

Thanks,

Sachin

Sachin,

Try the suggestions at
https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 4:10 AM, Sachin De Stone sachin.destone@gmail.com wrote:

Hey there,

So I am trying to use CLI on admin cmd combined with Windows Task Schedular
to automate Briefcase backups from Aggregate using the code (copied below)
as scripted by ODK. However, every time I run the lines, i get an error
'unable to find jar file'. I have looked through some java forums but can't
work out what I am missing.

Any help would be greatly appreciated.

Thanks,

Sachin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey Yaw,

Thanks for the link. Yup, I have had a look through that forum and some
others and still have had no luck. Moved the file around and checked that
it is executable (it is the firect briefcase download in fact). Or have I
missed something on that thread?

Thanks again for your help - it is much, much appreciated!!

Sachin

··· On Monday, August 17, 2015 at 12:11:26 PM UTC+1, Yaw Anokwa wrote: > > Sachin, > > Try the suggestions at > > https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file. > > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Mon, Aug 17, 2015 at 4:10 AM, Sachin De Stone <sachin....@gmail.com > wrote: > > Hey there, > > > > So I am trying to use CLI on admin cmd combined with Windows Task > Schedular > > to automate Briefcase backups from Aggregate using the code (copied > below) > > as scripted by ODK. However, every time I run the lines, i get an error > > 'unable to find jar file'. I have looked through some java forums but > can't > > work out what I am missing. > > > > Any help would be greatly appreciated. > > > > Thanks, > > > > Sachin > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Sachin,

Rename the jar to something without spaces, remove all the parameters,
and try something like this: "java -jar briefcase.jar --help".

If that works, then start adding back different flags and go from there.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 8:05 AM, Sachin De Stone sachin.destone@gmail.com wrote:

Hey Yaw,

Thanks for the link. Yup, I have had a look through that forum and some
others and still have had no luck. Moved the file around and checked that it
is executable (it is the firect briefcase download in fact). Or have I
missed something on that thread?

Thanks again for your help - it is much, much appreciated!!

Sachin

On Monday, August 17, 2015 at 12:11:26 PM UTC+1, Yaw Anokwa wrote:

Sachin,

Try the suggestions at

https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 4:10 AM, Sachin De Stone sachin....@gmail.com wrote:

Hey there,

So I am trying to use CLI on admin cmd combined with Windows Task
Schedular
to automate Briefcase backups from Aggregate using the code (copied
below)
as scripted by ODK. However, every time I run the lines, i get an error
'unable to find jar file'. I have looked through some java forums but
can't
work out what I am missing.

Any help would be greatly appreciated.

Thanks,

Sachin

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

That totally worked! You are my hero. Thank you so much :slight_smile:

That has been bugging me for ages.

S

··· On Monday, August 17, 2015 at 2:09:09 PM UTC+1, Yaw Anokwa wrote: > > Sachin, > > Rename the jar to something without spaces, remove all the parameters, > and try something like this: "java -jar briefcase.jar --help". > > If that works, then start adding back different flags and go from there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Mon, Aug 17, 2015 at 8:05 AM, Sachin De Stone <sachin....@gmail.com > wrote: > > Hey Yaw, > > > > Thanks for the link. Yup, I have had a look through that forum and some > > others and still have had no luck. Moved the file around and checked > that it > > is executable (it is the firect briefcase download in fact). Or have I > > missed something on that thread? > > > > Thanks again for your help - it is much, much appreciated!! > > > > Sachin > > > > On Monday, August 17, 2015 at 12:11:26 PM UTC+1, Yaw Anokwa wrote: > >> > >> Sachin, > >> > >> Try the suggestions at > >> > >> > https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file. > > >> > >> Yaw > >> -- > >> Need ODK services? http://nafundi.com provides form design, server > >> setup, professional support, and software development for ODK. > >> > >> On Mon, Aug 17, 2015 at 4:10 AM, Sachin De Stone wrote: > >> > Hey there, > >> > > >> > So I am trying to use CLI on admin cmd combined with Windows Task > >> > Schedular > >> > to automate Briefcase backups from Aggregate using the code (copied > >> > below) > >> > as scripted by ODK. However, every time I run the lines, i get an > error > >> > 'unable to find jar file'. I have looked through some java forums but > >> > can't > >> > work out what I am missing. > >> > > >> > Any help would be greatly appreciated. > >> > > >> > Thanks, > >> > > >> > Sachin > >> > > >> > -- > >> > -- > >> > Post: opend...@googlegroups.com > >> > Unsubscribe: opendatakit...@googlegroups.com > >> > Options: http://groups.google.com/group/opendatakit?hl=en > >> > > >> > --- > >> > You received this message because you are subscribed to the Google > >> > Groups > >> > "ODK Community" group. > >> > To unsubscribe from this group and stop receiving emails from it, > send > >> > an > >> > email to opendatakit...@googlegroups.com. > >> > For more options, visit https://groups.google.com/d/optout. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Sachin,

Ages is a long time to suffer! Glad it's working :slight_smile:

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 8:14 AM, Sachin De Stone sachin.destone@gmail.com wrote:

That totally worked! You are my hero. Thank you so much :slight_smile:

That has been bugging me for ages.

S

On Monday, August 17, 2015 at 2:09:09 PM UTC+1, Yaw Anokwa wrote:

Sachin,

Rename the jar to something without spaces, remove all the parameters,
and try something like this: "java -jar briefcase.jar --help".

If that works, then start adding back different flags and go from there.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 8:05 AM, Sachin De Stone sachin....@gmail.com wrote:

Hey Yaw,

Thanks for the link. Yup, I have had a look through that forum and some
others and still have had no luck. Moved the file around and checked
that it
is executable (it is the firect briefcase download in fact). Or have I
missed something on that thread?

Thanks again for your help - it is much, much appreciated!!

Sachin

On Monday, August 17, 2015 at 12:11:26 PM UTC+1, Yaw Anokwa wrote:

Sachin,

Try the suggestions at

https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Mon, Aug 17, 2015 at 4:10 AM, Sachin De Stone sachin....@gmail.com wrote:

Hey there,

So I am trying to use CLI on admin cmd combined with Windows Task
Schedular
to automate Briefcase backups from Aggregate using the code (copied
below)
as scripted by ODK. However, every time I run the lines, i get an
error
'unable to find jar file'. I have looked through some java forums but
can't
work out what I am missing.

Any help would be greatly appreciated.

Thanks,

Sachin

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.