Re: [gcj] Running interactive problems with JAVA

2019-05-04 Thread vijender ahlawat
On Thursday, 2 May 2019 03:15:51 UTC+5:30, Pablo Heiber  wrote:
> You should replace "./mybinary" with the command for running your solution. 
> If your solution is java, the proper line is probably something like:
> 
> 
> "python interactive_runner.py python testing_tool.py 0 -- java Solution"
> 
> 
> 
> Although that depends on your local java installation and your preferences 
> for usage. You can add flags to the "java" invocation if you use them 
> locally, for example. And if the language is a compiled one (as Java), you 
> have to compile first, the interactive_runner won't compile anything, it only 
> runs stuff.
> 
> 
> Best,
> Pablo
> 
> 
> On Wed, May 1, 2019 at 2:29 PM vijender ahlawat  wrote:
> Hi,
> 
> 
> 
> I'm having issues with running interactive problem for JAVA.
> 
> 
> 
> the interactive script says 
> 
> "python interactive_runner.py python testing_tool.py 0 -- ./my_binaRy"
> 
> 
> 
> what is the mybinary, is it in python? 
> 
> How do we generate this script?
> 
> 
> 
> There are no clear instructions on how to proceed or may be I'm not looking 
> at the right place.
> 
> 
> 
> Can someone please share the steps?
> 
> 
> 
> -- 
> 
> You received this message because you are subscribed to the Google Groups 
> "Google Code Jam" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to googl...@googlegroups.com.
> 
> To post to this group, send email to googl...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/b2d92912-9d6d-4b4e-b9fc-8adb4905b9aa%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

Thanks Pablo.
On mac it works fine but I'm still facing issue on Windows, it gives [WinError 
193] %1 is not a valid Win32 application, i even compiled it with javac x86 
version and then python command with java but still same error.

Any idea/hack for windows system to fix this issue.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/18bbe042-00ae-466b-ac04-fd903c91eb16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Running interactive problems with JAVA

2019-05-01 Thread 'Pablo Heiber' via Google Code Jam
You should replace "./mybinary" with the command for running your solution.
If your solution is java, the proper line is probably something like:

"python interactive_runner.py python testing_tool.py 0 -- java Solution"

Although that depends on your local java installation and your preferences
for usage. You can add flags to the "java" invocation if you use them
locally, for example. And if the language is a compiled one (as Java), you
have to compile first, the interactive_runner won't compile anything, it
only runs stuff.

Best,
Pablo

On Wed, May 1, 2019 at 2:29 PM vijender ahlawat 
wrote:

> Hi,
>
> I'm having issues with running interactive problem for JAVA.
>
> the interactive script says
> "python interactive_runner.py python testing_tool.py 0 -- ./my_binaRy"
>
> what is the mybinary, is it in python?
> How do we generate this script?
>
> There are no clear instructions on how to proceed or may be I'm not
> looking at the right place.
>
> Can someone please share the steps?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-code+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/b2d92912-9d6d-4b4e-b9fc-8adb4905b9aa%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CANa5jcDamHPPy%3DFLbZfzFO3n%3DsRfZc9Zh0yBjVPNCKkQHC1YyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.