ODK Briefcase used to work, but suddenly stopped opening

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again with
no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

Briefcase and FormUploader are never 'installed' -- they are just runnable
'jar' files (Java software ARchives), so you won't see them in the Control
Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

··· On Fri, Mar 8, 2013 at 9:19 AM, Sam wrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again
with no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

--

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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week, I've
restarted my computer countless times, but I still get this problem. I see
"Java 7 Update 17" here: Control Panel\Programs\Programs and Features.
I've even downloaded Briefcase again, but it still doesn't open when I
double click it. It looks like it's trying to open (I get a blue swirl
where my mouse should be for the first few seconds after I double click the
Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

··· On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just runnable
'jar' files (Java software ARchives), so you won't see them in the Control
Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

On Fri, Mar 8, 2013 at 9:19 AM, Sam <samantha.elghanayan@gmail.com<javascript:_e({}, 'cvml', 'samantha.elghanayan@gmail.com');> wrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again
with no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

--

Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@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 <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com <javascript:_e({}, 'cvml',
'mitchellsundt@gmail.com');>

--

Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

··· On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just runnable
'jar' files (Java software ARchives), so you won't see them in the Control
Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

On Fri, Mar 8, 2013 at 9:19 AM, Sam samantha.elghanayan@gmail.com wrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again
with no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

--

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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

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 s

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report
4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add
mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's bin
folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it start.

I'm not sure what is happening with the Java 7 Windows installer, but it
sometimes does and sometimes does not set up this file association (and I
don't know why). I've seen it go both ways (and, for me, uninstalling Java
and reinstalling it has generally set everything right).

··· --------

Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

On Fri, Mar 8, 2013 at 9:19 AM, Sam samantha.elghanayan@gmail.comwrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again
with no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

--

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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

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 s

--
--
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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

OK this is what I get:

INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Mar 14, 2013 12:00:37 AM
org.opendatakit.aggregate.parser.BaseFormParserForJavaR
osa$XFormParserWithBindEnhancements parseBind
INFO: Calling handle found value null
Warning: 1 Unrecognized attributes found in Element [Endline_Survey] and
will be
ignored: [id] Location:

Problem found at nodeset: /html/head/model/instance/Endline_Survey
With element <Endline_Survey id="nerica-endline-kpkpk">

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java
heap spa
ce
at org.kxml2.kdom.Node.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Element.createElement(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Element.parse(Unknown Source)
at org.kxml2.kdom.Node.parse(Unknown Source)
at org.kxml2.kdom.Document.parse(Unknown Source)
at
org.javarosa.xform.parse.XFormParser.getXMLDocument(XFormParser.java:
291)
at
org.opendatakit.aggregate.parser.BaseFormParserForJavaRosa.parseFormD
efinition(BaseFormParserForJavaRosa.java:251)
at
org.opendatakit.aggregate.parser.BaseFormParserForJavaRosa.(Bas
eFormParserForJavaRosa.java:438)
at
org.opendatakit.briefcase.util.JavaRosaParserWrapper.(JavaRosaP
arserWrapper.java:20)
at
org.opendatakit.briefcase.model.BriefcaseFormDefinition.(Briefc
aseFormDefinition.java:264)
at
org.opendatakit.briefcase.util.FileSystemUtils.getBriefcaseFormList(F
ileSystemUtils.java:192)
at
org.opendatakit.briefcase.ui.ExportPanel.setEnabled(ExportPanel.java:
462)
at
org.opendatakit.briefcase.ui.MainBriefcaseWindow.setFullUIEnabled(Mai
nBriefcaseWindow.java:106)

C:\Users\selghanayan>

··· On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just runnable
'jar' files (Java software ARchives), so you won't see them in the Control
Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

On Fri, Mar 8, 2013 at 9:19 AM, Sam samantha.elghanayan@gmail.com wrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. However, last week the program just refused to open.

I tried clicking on the shortcut on my desktop, the original file in my
Downloads folder and even going through the search bar on my computer. All
refuse to open. I tried to uninstall it, but could not find it in the list
of programs on my computer (Control Panel\Programs\Programs and Features).
I installed ODK Briefcase again, but even that refused to open.

I've restarted my computer several times now and tried the above again
with no luck.

Any advice on how to get Briefcase working again and/or thoughts on what
may be causing this?

Thanks,
Sam

--

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

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin clicked on
    javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour ago
    (3rd time I've downloaded briefcase in the past few weeks-- could this be
    an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does it
make a difference that Java was in my Programs (86) folder? Did I possibly
install the wrong version of Java?

··· On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's bin
folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it start.

I'm not sure what is happening with the Java 7 Windows installer, but it
sometimes does and sometimes does not set up this file association (and I
don't know why). I've seen it go both ways (and, for me, uninstalling Java
and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just runnable
'jar' files (Java software ARchives), so you won't see them in the Control
Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either case, try
uninstalling Java via the Control Panel / Programs and Features (if you
find it there), then go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download and install the latest Java JRE (you only need the JDK if you are
running a server or are a developer).

After installing, if you close the 'cmd' window then open a new 'cmd'
window, the new window should produce output similar to what is shown above.

You should then be able to double-click Briefcase and have it launch.

This problem may have been caused by your anti-intrusion or anti-virus
security software, as there are known critical weaknesses when browsers run
Java applications. The correct way to prevent that is to go into the
settings page of your browser and disable the launching of Java (there will
be a checkbox for that on one of those settings pages).

If, after you are able to get 'java -version' to display a message, you
still cannot double-click Briefcase and have it launch, then you can run
Briefcase manually from within the cmd window to see what errors are being
reported. To do that, you would type

java -jar Briefcase.jar

Where you replace Briefcase.jar with the full path to your Briefcase jar
file. E.g., "C:\Users\Administrator\Downloads\ODK Briefcase v1.2.3
Production.jar"

This will spew a bunch of text into the 'cmd' window. If you can then
either screen-capture the text or mark-and-copy it, and send it to me, I
can debug further.

Mitch

On Fri, Mar 8, 2013 at 9:19 AM, Sam samantha.elghanayan@gmail.com wrote:

I downloaded ODK Briefcase about a month ago and had been using it
regularly since. Howe

You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.

Also, in case this helps: Right after trying to open it again and not
seeing it open, I tried to copy the most new briefcase jar i just
downloaded onto my desktop, and I got this pop-up message:
"File in Use
The Action can't be completed because the file is open in Java(TM) Platform
SE binary.
Close the file and try again."

··· On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I
    installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin clicked on
    javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour ago
    (3rd time I've downloaded briefcase in the past few weeks-- could this be
    an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does it
make a difference that Java was in my Programs (86) folder? Did I possibly
install the wrong version of Java?

On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's bin
folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it
start.

I'm not sure what is happening with the Java 7 Windows installer, but it
sometimes does and sometimes does not set up this file association (and I
don't know why). I've seen it go both ways (and, for me, uninstalling Java
and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is something
wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In either cas

You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Would the "mixed mode" message I got when I ran "java -version" in the
command window be linked to this (
https://groups.google.com/forum/?fromgroups=#!searchin/opendatakit/briefcase$20open/opendatakit/y1NcN2LOoPM/qJHc4YoKRHUJ)
by any chance? I only use briefcase and not aggregate, so i'm not sure if
JCE is something specific to aggregate, but figured it's worth a shot to ask

··· On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Also, in case this helps: Right after trying to open it again and not
seeing it open, I tried to copy the most new briefcase jar i just
downloaded onto my desktop, and I got this pop-up message:
"File in Use
The Action can't be completed because the file is open in Java(TM)
Platform SE binary.
Close the file and try again."

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I
    installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin clicked
    on javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour ago
    (3rd time I've downloaded briefcase in the past few weeks-- could this be
    an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does it
make a difference that Java was in my Programs (86) folder? Did I possibly
install the wrong version of Java?

On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's bin
folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it
start.

I'm not sure what is happening with the Java 7 Windows installer, but it
sometimes does and sometimes does not set up this file association (and I
don't know why). I've seen it go both ways (and, for me, uninstalling Java
and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is
something wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a way
that is not directly accessible on your computer. In

You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

OK -- the command line execution shows that you had an:

*Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java
heap space

··· * This will stop ODK Briefcase from opening. Basically, any *OutOfMemory *exception will stop any of the programs (be it ODK Briefcase, Aggregate or Collect).

Fortunately, you are not constrained to the memory limitations of the phone
when running briefcase. You simply need to increase the amount of memory
used by the javaw.exe program when running ODK Briefcase.

We can do that by creating a shortcut that will launch javaw.exe with some
extra command line arguments

But first, you need to figure out how much memory is needed for ODK
Briefcase to operate.

Open a cmd window,

Type:

"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xmx512m -jar
"...full path to ODK Briefcase 1.2.3 Production.jar"

Where the "...full path..." term is the full path to the ODK Briefcase jar
file.

The "-Xmx512m" is the argument we are trying to adjust.

This extra argument tells java to use 512MB of your main memory (DRAM) to
run your program.
You can increase or decrease this value; the biggest number you can give is
about 66% of the total DRAM on your machine.

Once you find a value that works and ODK Briefcase successfully launches
and is usable, then:

On your desktop, right-click, choose "New", choose "Shortcut"

Then copy and paste the entire command line above into the "Type location
of the item:" field on the next screen.

Click Next.

And name it "ODK Briefcase"

Click Finish

You should now be able to double-click that shortcut icon to launch ODK
Briefcase, using that larger memory size.


Mitch

On Wed, Mar 13, 2013 at 6:30 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

Would the "mixed mode" message I got when I ran "java -version" in the
command window be linked to this (
https://groups.google.com/forum/?fromgroups=#!searchin/opendatakit/briefcase$20open/opendatakit/y1NcN2LOoPM/qJHc4YoKRHUJ)
by any chance? I only use briefcase and not aggregate, so i'm not sure if
JCE is something specific to aggregate, but figured it's worth a shot to ask

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Also, in case this helps: Right after trying to open it again and not
seeing it open, I tried to copy the most new briefcase jar i just
downloaded onto my desktop, and I got this pop-up message:
"File in Use
The Action can't be completed because the file is open in Java(TM)
Platform SE binary.
Close the file and try again."

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I
    installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin clicked
    on javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour ago
    (3rd time I've downloaded briefcase in the past few weeks-- could this be
    an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does
it make a difference that Java was in my Programs (86) folder? Did I
possibly install the wrong version of Java?

On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's
bin folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it
start.

I'm not sure what is happening with the Java 7 Windows installer, but
it sometimes does and sometimes does not set up this file association (and
I don't know why). I've seen it go both ways (and, for me, uninstalling
Java and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is
something wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a
way that is not directly accessible on your computer. In

You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--
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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Mitch, THANK YOU!

The most important thing worked: I was able to open ODK briefcase using the
command line exactly as you suggested. (In case someone has a similar issue
in the future: I had to manually add ".jar" at the end of the file path I
copied to get this to work). 512 MB was just fine.

Unfortunately (and this is really not required, but would be nice), I can't
get the shortcut to work. I copied the entire path exactly as it was on the
command line, but kept getting the error message "The file C:"C:\Program
Files (x86)\Java\jre7\bin\javaw.exe" cannot be found." I tried
playing around with the spacing, and when I deleted all but one space
between " 'C:\Program Files (x86)\Java\jre7\bin\javaw.exe' " and "-Xmx512m "
it finally let me create the shortcut. But now when I try double-clicking
on the shortcut, it keeps giving me the following error message (which I
was getting on the command line before I added the .jar to the file path):
"Error: Unable to access jarfile C:\Users\myname\Downloads\ODK Briefcase
v1.2.3 Production (2).jar"

I don't mind not having the shortcut, given I can get through the command
line, but if you happen to have an idea of what might be wrong here, that
would be a nice bonus.

Out of curiosity, do you have a sense of why this whole problem with not
being able to open Briefcase occurred on my laptop but not those of my
colleagues running most of the same files on lower quality, lower memory
laptops (including a really old netbook)? The only thing I can think of is
that I was the only one testing our much larger surveys (about 5,000-6,000
lines in Excel) (which we ended up cutting down by about 1,500 lines and
removed 1 repeat group before using in the field with the mediocre PDAs)

Thanks for ALL your help! Really appreciate it

··· On Thu, Mar 14, 2013 at 5:20 PM, Mitch Sundt wrote:

OK -- the command line execution shows that you had an:

*Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java
heap space
*
This will stop ODK Briefcase from opening. Basically, any *OutOfMemory *exception
will stop any of the programs (be it ODK Briefcase, Aggregate or Collect).

Fortunately, you are not constrained to the memory limitations of the
phone when running briefcase. You simply need to increase the amount of
memory used by the javaw.exe program when running ODK Briefcase.

We can do that by creating a shortcut that will launch javaw.exe with some
extra command line arguments

But first, you need to figure out how much memory is needed for ODK
Briefcase to operate.

Open a cmd window,

Type:

"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xmx512m -jar
"...full path to ODK Briefcase 1.2.3 Production.jar"

Where the "...full path..." term is the full path to the ODK Briefcase jar
file.

The "-Xmx512m" is the argument we are trying to adjust.

This extra argument tells java to use 512MB of your main memory (DRAM) to
run your program.
You can increase or decrease this value; the biggest number you can give
is about 66% of the total DRAM on your machine.

Once you find a value that works and ODK Briefcase successfully launches
and is usable, then:

On your desktop, right-click, choose "New", choose "Shortcut"

Then copy and paste the entire command line above into the "Type location
of the item:" field on the next screen.

Click Next.

And name it "ODK Briefcase"

Click Finish

You should now be able to double-click that shortcut icon to launch ODK
Briefcase, using that larger memory size.


Mitch

On Wed, Mar 13, 2013 at 6:30 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

Would the "mixed mode" message I got when I ran "java -version" in the
command window be linked to this (
https://groups.google.com/forum/?fromgroups=#!searchin/opendatakit/briefcase$20open/opendatakit/y1NcN2LOoPM/qJHc4YoKRHUJ)
by any chance? I only use briefcase and not aggregate, so i'm not sure if
JCE is something specific to aggregate, but figured it's worth a shot to ask

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Also, in case this helps: Right after trying to open it again and not
seeing it open, I tried to copy the most new briefcase jar i just
downloaded onto my desktop, and I got this pop-up message:
"File in Use
The Action can't be completed because the file is open in Java(TM)
Platform SE binary.
Close the file and try again."

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I
    installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin clicked
    on javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour
    ago (3rd time I've downloaded briefcase in the past few weeks-- could this
    be an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does
it make a difference that Java was in my Programs (86) folder? Did I
possibly install the wrong version of Java?

On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's
bin folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it
start.

I'm not sure what is happening with the Java 7 Windows installer, but
it sometimes does and sometimes does not set up this file association (and
I don't know why). I've seen it go both ways (and, for me, uninstalling
Java and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past week,
I've restarted my computer countless times, but I still get this problem.
I see "Java 7 Update 17" here: Control Panel\Programs\Programs and
Features. I've even downloaded Briefcase again, but it still doesn't open
when I double click it. It looks like it's trying to open (I get a blue
swirl where my mouse should be for the first few seconds after I double
click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is
something wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a
way that is not directly accessible on your computer. In

You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--
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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It looks like the shortcut-creation edit box is trying to be helpful and
add a 'C:' in front of the "C:\Program..." string (based upon your
reported error: "The file *C:*"C:\Program Files (x8...).
So after pasting the string into the name field and saving the shortcut,
you may need to re-edit it (right-click, Properties) to remove the leading
C:.
And if it insisted on adding a leading C:, it may have also added extra
surrounding single- or double-quotes, just to further mess things up.
Thank you Windows!

Since you were using larger forms, those forms are probably still within
the Briefcase storage location (you will probably see them in the Push tab).

Briefcase reads all form definitions into memory and holds onto them in
memory. So even if you are not manipulating or using those larger forms,
they are still parsed and held in memory, creating the need for a larger
memory footprint when running ODK Briefcase on your computer.

If you are certain you do not need those larger forms, you can shut down
ODK Briefcase, and browse into the storage location to delete the directory
trees containing each of the larger forms. The directory structure is,
e.g.,

C:\Users\Administrator\ODK Briefcase Storage\forms*formname*...

Deleting the *formname *directory will remove that form definition from ODK
Briefcase.

Then, the next time you start ODK Briefcase, it should not need the larger
memory footprint.

··· ------- Mitch

On Sun, Mar 17, 2013 at 10:39 AM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

Mitch, THANK YOU!

The most important thing worked: I was able to open ODK briefcase using
the command line exactly as you suggested. (In case someone has a similar
issue in the future: I had to manually add ".jar" at the end of the file
path I copied to get this to work). 512 MB was just fine.

Unfortunately (and this is really not required, but would be nice), I
can't get the shortcut to work. I copied the entire path exactly as it was
on the command line, but kept getting the error message "The file C:"C:\Program
Files (x86)\Java\jre7\bin\javaw.exe" cannot be found." I tried
playing around with the spacing, and when I deleted all but one space
between " 'C:\Program Files (x86)\Java\jre7\bin\javaw.exe' " and "
-Xmx512m " it finally let me create the shortcut. But now when I try
double-clicking on the shortcut, it keeps giving me the following error
message (which I was getting on the command line before I added the .jar to
the file path): "Error: Unable to access jarfile C:\Users\myname\Downloads\ODK
Briefcase v1.2.3 Production (2).jar"

I don't mind not having the shortcut, given I can get through the command
line, but if you happen to have an idea of what might be wrong here, that
would be a nice bonus.

Out of curiosity, do you have a sense of why this whole problem with not
being able to open Briefcase occurred on my laptop but not those of my
colleagues running most of the same files on lower quality, lower memory
laptops (including a really old netbook)? The only thing I can think of is
that I was the only one testing our much larger surveys (about 5,000-6,000
lines in Excel) (which we ended up cutting down by about 1,500 lines and
removed 1 repeat group before using in the field with the mediocre PDAs)

Thanks for ALL your help! Really appreciate it

On Thu, Mar 14, 2013 at 5:20 PM, Mitch Sundt mitchellsundt@gmail.comwrote:

OK -- the command line execution shows that you had an:

*Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java
heap space
*
This will stop ODK Briefcase from opening. Basically, any *OutOfMemory *exception
will stop any of the programs (be it ODK Briefcase, Aggregate or Collect).

Fortunately, you are not constrained to the memory limitations of the
phone when running briefcase. You simply need to increase the amount of
memory used by the javaw.exe program when running ODK Briefcase.

We can do that by creating a shortcut that will launch javaw.exe with
some extra command line arguments

But first, you need to figure out how much memory is needed for ODK
Briefcase to operate.

Open a cmd window,

Type:

"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xmx512m -jar
"...full path to ODK Briefcase 1.2.3 Production.jar"

Where the "...full path..." term is the full path to the ODK Briefcase
jar file.

The "-Xmx512m" is the argument we are trying to adjust.

This extra argument tells java to use 512MB of your main memory (DRAM) to
run your program.
You can increase or decrease this value; the biggest number you can give
is about 66% of the total DRAM on your machine.

Once you find a value that works and ODK Briefcase successfully launches
and is usable, then:

On your desktop, right-click, choose "New", choose "Shortcut"

Then copy and paste the entire command line above into the "Type location
of the item:" field on the next screen.

Click Next.

And name it "ODK Briefcase"

Click Finish

You should now be able to double-click that shortcut icon to launch ODK
Briefcase, using that larger memory size.


Mitch

On Wed, Mar 13, 2013 at 6:30 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

Would the "mixed mode" message I got when I ran "java -version" in the
command window be linked to this (
https://groups.google.com/forum/?fromgroups=#!searchin/opendatakit/briefcase$20open/opendatakit/y1NcN2LOoPM/qJHc4YoKRHUJ)
by any chance? I only use briefcase and not aggregate, so i'm not sure if
JCE is something specific to aggregate, but figured it's worth a shot to ask

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Also, in case this helps: Right after trying to open it again and not
seeing it open, I tried to copy the most new briefcase jar i just
downloaded onto my desktop, and I got this pop-up message:
"File in Use
The Action can't be completed because the file is open in Java(TM)
Platform SE binary.
Close the file and try again."

On Thursday, March 14, 2013, Samantha Elghanayan wrote:

Hi Mitch, I tried what you recommended a minute ago:

  1. I right-clicked the most recent version of ODK Briefcase I
    installed
  2. Open With (Here I see that the recommended programs is already
    Java(TM) Platform SE binary
  3. Click Browse
  4. Change filepath to C:\Program Files (x86)\Java\jre7\bin
    clicked on javaw
  5. Open a fresh windows explorer
  6. Click on the newest version of briefcase i downloaded an hour
    ago (3rd time I've downloaded briefcase in the past few weeks-- could this
    be an issue?)

But Briefcase still won't open. Do I need to restart my computer? Does
it make a difference that Java was in my Programs (86) folder? Did I
possibly install the wrong version of Java?

On Thursday, March 14, 2013, Mitch Sundt wrote:

From a web search with a bad answer....

The problem ...
The root cause for the problem is that a program has stolen the .jar
association. If you have installed the Java Runtime Environment the first
time, the file type called "jar" is assigned to javaw.exe correctly. "jar"
is an abbreviation for "java archive" and javaw.exe is the correct program
to execute a .jar. However, on Windows any program can steal a file type at
any time even if it is already associated with a program. Many zip/unzip
programs prefer to do this, because a jar is stored in the .zip format. If
you doubleclick on a .jar, your pack program opens the file, rather than
javaw runs the program, because your pack program ignores the meta
information which are also stored in a .jar. In the Oracle bug database
there is the low-priority report 4912211http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912211"add mechanism to restore hijacked .jar and .jnlp file extensions", but it
has been closed as "Closed, Will Not Fix".

The workaround ...

Open a Windows Explorer (file browser).

Navigate to ODK Briefcase...jar

Right-click on it,

Choose "Open with..."

Click on "Browse" button in lower right corner

Navigate to your javaw.exe file within your Java install directory's
bin folder.

Select the javaw.exe file and click OK to exit out of the file picker
(titled: "Open with..."), back to the "Open With" dialog

Make sure the "Always use..." checkbox is checked.

Click "OK"

Now, you should be able to double-click on ODK Briefcase and have it
start.

I'm not sure what is happening with the Java 7 Windows installer, but
it sometimes does and sometimes does not set up this file association (and
I don't know why). I've seen it go both ways (and, for me, uninstalling
Java and reinstalling it has generally set everything right).


Mitch

On Wed, Mar 13, 2013 at 4:49 PM, Samantha Elghanayan < samantha.elghanayan@gmail.com> wrote:

OK I just followed the steps in this
http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_filepost
and it looks like it helped with the first step in your post. i get this in
the command window:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)

But I still can't open Briefcase. Could the "mixed mode" be a problem?

On Wednesday, March 13, 2013, Samantha Elghanayan wrote:

Hi Mitch, I'm not sure what I'm doing wrong, but whenever I open the
command-line window and enter java -version, I get this:
'java' is not recognized as an
operable program or batch file.

I've uninstalled and reinstalled java a couple times in the past
week, I've restarted my computer countless times, but I still get this
problem. I see "Java 7 Update 17" here: Control Panel\Programs\Programs
and Features. I've even downloaded Briefcase again, but it still doesn't
open when I double click it. It looks like it's trying to open (I get a
blue swirl where my mouse should be for the first few seconds after I
double click the Briefcase Icon, but then it just stops and nothing opens.

What could I be doing wrong?

On Friday, March 8, 2013, Mitch Sundt wrote:

Briefcase and FormUploader are never 'installed' -- they are just
runnable 'jar' files (Java software ARchives), so you won't see them in the
Control Panel's Add/Remove programs.

If you are having trouble launching them, it is likely there is
something wrong with java on your computer.

Go to the Start menu, and search and open the 'cmd' program.

This opens a command-line window.

Type 'java -version' at the prompt (no quotes).

You should see something like:

C:\Users\Administrator\Downloads>java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

If you don't, then java is either not installed or is installed in a
way that is not directly accessible on your computer. In

You received this message because you are subscribed to a topic in
the Google Groups "ODK Community" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--
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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/XBsaW5ojjcg/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--

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/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com