[OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

shirish शिरीष
Dear all,

I was trying to use the Java offline utility given at
https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

https://www.incometaxindiaefiling.gov.in/eFiling/Portal/DownloadUtil/ITR_UTILITY/2019/ITR-1_2019.zip?0.6638789927267952

I am guessing the bit after the .zip is a sort of counter or something.

Anyways, downloaded the extracted the archive.

Tried to run the shell script

~/Documents/ITR-1_2019_170419$ ./ITR.sh
bash: ./ITR.sh: Permission denied

Changed the permissions -

~/Documents/ITR-1_2019_170419$ chmod +x ITR.sh

Ran the shell script again -

~/Documents/ITR-1_2019_170419$ ./ITR.sh
Error: Could not find or load main class
com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

Now have no idea why it could not find the class, any ideas anybody ?

Java at my end -

$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+1-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.3+1-Debian-1, mixed mode, sharing)

$ apt-cache policy libopenjfx-java openjfx
libopenjfx-java:
  Installed: 11.0.2+1-1
  Candidate: 11.0.2+1-1
  Version table:
 *** 11.0.2+1-1 990
        990 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        500 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
openjfx:
  Installed: 11.0.2+1-1
  Candidate: 11.0.2+1-1
  Version table:
 *** 11.0.2+1-1 990
        990 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        500 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Does anybody have any clue for the same ?

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

shirish शिरीष
at bottom :-

On 17/04/2019, Amey Abhyankar <[hidden email]> wrote:

> Hello,
>
> On Wed, 17 Apr 2019 at 11:35, shirish शिरीष <[hidden email]> wrote:
>>
>> Dear all,
>>
>> I was trying to use the Java offline utility given at
>> https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng
>>
>> https://www.incometaxindiaefiling.gov.in/eFiling/Portal/DownloadUtil/ITR_UTILITY/2019/ITR-1_2019.zip?0.6638789927267952
>>
>> I am guessing the bit after the .zip is a sort of counter or something.
>>
>> Anyways, downloaded the extracted the archive.
>>
>> Tried to run the shell script
>>
>> ~/Documents/ITR-1_2019_170419$ ./ITR.sh
>> bash: ./ITR.sh: Permission denied
>>
>> Changed the permissions -
>>
>> ~/Documents/ITR-1_2019_170419$ chmod +x ITR.sh
>>
>> Ran the shell script again -
>>
>> ~/Documents/ITR-1_2019_170419$ ./ITR.sh
>> Error: Could not find or load main class
>> com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate
>> Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
>>
>> Now have no idea why it could not find the class, any ideas anybody ?
>>
>> Java at my end -
>>
>> $ java --version
>> openjdk 11.0.3 2019-04-16
>
> Probably compatibility issue.
>
> Try with openjdk 1.8.x version.
> I guess incomextaxdepartment site have not tested the package on
> latest openjdk ;-)
>
> Regards,
> Amey.
>

<snipped>

I don't think it's just an openjdk issue, it's probably something to
do with the class as it shows -

com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate

It probably is the issue or cause.

Now as far as Openjdk 8 is concerned, it's neither in Debian testing
or stable, although I'm on testing/buster . I could download it from
the archive screenshot but would be difficult.

See https://qa.debian.org/developer.php?email=openjdk%40lists.launchpad.net

Looking forward to more inputs -

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

Andrius Merkys
Hello,

On 2019-04-17 09:35, shirish शिरीष wrote:
> I don't think it's just an openjdk issue, it's probably something to
> do with the class as it shows -
>
> com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate

to me this looks like a problem with the CLASSPATH. Does
ThreeRedLightsIlluminate.java come with the downloaded ZIP file? Is
there any CLASSPATH setting (might be using '-cp' option to Java call)
in the ITR.sh?

Best,
Andrius

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

shirish शिरीष
at bottom :-

On 17/04/2019, Andrius Merkys <[hidden email]> wrote:

> Hello,
>
> On 2019-04-17 09:35, shirish शिरीष wrote:
>> I don't think it's just an openjdk issue, it's probably something to
>> do with the class as it shows -
>>
>> com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate
>
> to me this looks like a problem with the CLASSPATH. Does
> ThreeRedLightsIlluminate.java come with the downloaded ZIP file? Is
> there any CLASSPATH setting (might be using '-cp' option to Java call)
> in the ITR.sh?
>
> Best,
> Andrius
>

Dear Andrius,

Thank you for the quick reply. A quick look at the shell script shows
that it does nothing but merely calls for the .jar file.

~/Documents/ITR-1_2019_170419$ cat ITR.sh
java -jar ITR-1_AY201920_PR1.jar

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

Andrius Merkys
On 2019-04-17 09:52, shirish शिरीष wrote:
> ~/Documents/ITR-1_2019_170419$ cat ITR.sh
> java -jar ITR-1_AY201920_PR1.jar

OK, this means that all required classes should be there in the JAR
file. Could you check what does 'jar -tvf ITR-1_AY201920_PR1.jar | grep
ThreeRedLightsIlluminate' say?

Best,
Andrius

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

shirish शिरीष
at bottom :-

On 17/04/2019, Andrius Merkys <[hidden email]> wrote:

> On 2019-04-17 09:52, shirish शिरीष wrote:
>> ~/Documents/ITR-1_2019_170419$ cat ITR.sh
>> java -jar ITR-1_AY201920_PR1.jar
>
> OK, this means that all required classes should be there in the JAR
> file. Could you check what does 'jar -tvf ITR-1_AY201920_PR1.jar | grep
> ThreeRedLightsIlluminate' say?
>
> Best,
> Andrius
>

Dear Andrius,

Thank you for the prompt reply (again) :)

Here's what it says -

~/Documents/ITR-1_2019_170419$ jar -tvf ITR-1_AY201920_PR1.jar | grep
ThreeRedLightsIlluminate
  1699 Mon Apr 15 19:26:26 IST 2019
com/itd/efiling/offline/common/player/ctrl/ThreeRedLightsIlluminate$1.class
  3599 Mon Apr 15 19:26:26 IST 2019
com/itd/efiling/offline/common/player/ctrl/ThreeRedLightsIlluminate.class

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

Sagar Patke-2
In reply to this post by shirish शिरीष
It requires JavaFX, which is no longer bundled with latest versions of Java. It should work with Java 8.

On Wed, 17 Apr, 2019, 11:35 AM shirish शिरीष, <[hidden email]> wrote:
Dear all,

I was trying to use the Java offline utility given at
https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

https://www.incometaxindiaefiling.gov.in/eFiling/Portal/DownloadUtil/ITR_UTILITY/2019/ITR-1_2019.zip?0.6638789927267952

I am guessing the bit after the .zip is a sort of counter or something.

Anyways, downloaded the extracted the archive.

Tried to run the shell script

~/Documents/ITR-1_2019_170419$ ./ITR.sh
bash: ./ITR.sh: Permission denied

Changed the permissions -

~/Documents/ITR-1_2019_170419$ chmod +x ITR.sh

Ran the shell script again -

~/Documents/ITR-1_2019_170419$ ./ITR.sh
Error: Could not find or load main class
com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

Now have no idea why it could not find the class, any ideas anybody ?

Java at my end -

$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+1-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.3+1-Debian-1, mixed mode, sharing)

$ apt-cache policy libopenjfx-java openjfx
libopenjfx-java:
  Installed: 11.0.2+1-1
  Candidate: 11.0.2+1-1
  Version table:
 *** 11.0.2+1-1 990
        990 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        500 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
openjfx:
  Installed: 11.0.2+1-1
  Candidate: 11.0.2+1-1
  Version table:
 *** 11.0.2+1-1 990
        990 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        500 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Does anybody have any clue for the same ?

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

shirish शिरीष
at bottom :-

On 17/04/2019, Sagar Patke <[hidden email]> wrote:
> It requires JavaFX, which is no longer bundled with latest versions of
> Java. It should work with Java 8.
>

As shared before, I do have javafx installed.

<snipped>

>

--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

Andrius Merkys
In reply to this post by shirish शिरीष
Dear Shirish,

On 2019-04-17 10:19, shirish शिरीष wrote:
> ~/Documents/ITR-1_2019_170419$ jar -tvf ITR-1_AY201920_PR1.jar | grep
> ThreeRedLightsIlluminate
>   1699 Mon Apr 15 19:26:26 IST 2019
> com/itd/efiling/offline/common/player/ctrl/ThreeRedLightsIlluminate$1.class
>   3599 Mon Apr 15 19:26:26 IST 2019
> com/itd/efiling/offline/common/player/ctrl/ThreeRedLightsIlluminate.class

OK, my wild guess did not work here. I hope someone with more experience
in Java could help you.

Best wishes,
Andrius

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

Mykola Nikishov-2
In reply to this post by shirish शिरीष
shirish शिरीष <[hidden email]> writes:

> ~/Documents/ITR-1_2019_170419$ ./ITR.sh
> Error: Could not find or load main class
> com.itd.efiling.offline.common.player.ctrl.ThreeRedLightsIlluminate
> Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
>
> Now have no idea why it could not find the class, any ideas anybody ?

[...]

> A quick look at the shell script shows that it does nothing but merely
> calls for the .jar file.
>
> ~/Documents/ITR-1_2019_170419$ cat ITR.sh
> java -jar ITR-1_AY201920_PR1.jar

java -cp /usr/share/openjfx/lib/ -jar ITR-1_AY201920_PR1.jar

--
Mykola

Libre/Free Java Software Developer
https://manandbytes.gitlab.io/

Reply | Threaded
Open this post in threaded view
|

Re: [OT] Cannot use the Java offline utility given at https://www.incometaxindiaefiling.gov.in/downloads/offlineUtilities?lang=eng

David Goodenough
In reply to this post by shirish शिरीष

On Wednesday, 17 April 2019 09:24:56 BST shirish शिरीष wrote:

> at bottom :-

>

> On 17/04/2019, Sagar Patke <[hidden email]> wrote:

> > It requires JavaFX, which is no longer bundled with latest versions of

> > Java. It should work with Java 8.

>

> As shared before, I do have javafx installed.

>

> <snipped>

Yes but. The version of javafx in Debian is javafx-11, and that is only compatible with java-11. While you can install openjdk-8 (from the archive) you would have to install an old -8 version of javafx as well, and while you can have two openjdks installed at once (they have different names) you can not have two javafxs installed as they have the same name.

 

The alternative is to find a version of the app built with java-11 and javafx-11, but that may take a while to arrive.

 

David