BeChris100 / osintgram4j

A rebranded version of our old, beloved Osintgram Client
GNU General Public License v3.0
35 stars 1 forks source link

shows some java errors after executing command osintgram4j #14

Closed karthikkl13 closed 4 months ago

karthikkl13 commented 4 months ago

hey @BeChris100 can u tell me what the problem is??? ( btw i am new to this....) Screenshot_2024-05-09_03_19_20

BeChris100 commented 4 months ago

Can you provide everything, from setup to building it?

karthikkl13 commented 4 months ago
git clone https://github.com/BeChris100/osintgram4j && cd osintgram4j
chmod +x setup.sh build.sh
./setup.sh --force-download
./build.sh

after executing all this commands, and shows build was sucessful

but after entering osintgram4j command, its shows java error...

BeChris100 commented 4 months ago

Right, but something within the build scripts could have failed, which I asked for the logs that you see on the Terminal.

karthikkl13 commented 4 months ago
## Compiling the Commons Library
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
## Compiling the Instagram API
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
error: error reading out/libs/json.jar; zip file is empty
## Compiling the Osintgram4j API
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
error: error reading out/libs/json.jar; zip file is empty
## Compiling the Core Application
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
error: error reading out/libs/json.jar; zip file is empty
## Adding resources to the Core Application
cp: cannot create directory 'out/project/core/net/bc100dev/osintgram4j/': No such file or directory
## Making "commons.jar"
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
## Making "instagram-api.jar"
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
## Making "modapi.jar"
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
out/project/modapi/. : no such file or directory
## Making "core.jar"
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
## Building the Application Package
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
BeChris100 commented 4 months ago

Either it's refusing to compile, or something else is happening. I'm not exactly sure, but I'll inspect.

I'll be looking at it, once I'm back in coding again.

In the meantime, you didn't seem to edit anything, right? I can't seem to replicate the error that you are encountering.

karthikkl13 commented 4 months ago

Oh

BeChris100 commented 4 months ago

Not in a bad way, but if I don't know the modifications that you have taken, then I can't help.

BeChris100 commented 4 months ago

Can you provide the environment that you used to try running it on? Maybe I can try to do the steps that you have done on the specific Operating System that you tried installing and running on. Its specific version would also be helpful.

karthikkl13 commented 4 months ago

I used Kali linux (2024.1 release) operating system on VMware

BeChris100 commented 4 months ago

I did some code fixes and debugging on a Kali 2024.1 VM, and figured some things out. Hope that things are fixed by now.

karthikkl13 commented 4 months ago

Okay Will check I appreciate it !

BeChris100 commented 4 months ago

Once the errors are fixed, you can close this issue.

karthikkl13 commented 4 months ago

I will check later and will tell you whether it's fixed or not

karthikkl13 commented 4 months ago

hey now when i executed./setup.sh --force-download it shows this connection error:

Resolving repo1.maven.org (repo1.maven.org)... 146.75.116.209, 2a04:4e42:8d::209
Connecting to repo1.maven.org (repo1.maven.org)|146.75.116.209|:443... failed: Connection refused.
Connecting to repo1.maven.org (repo1.maven.org)|2a04:4e42:8d::209|:443... failed: Network is unreachable.
BeChris100 commented 4 months ago

This might be the configuration on the VM you have set up. Make sure that an active connection is established.

karthikkl13 commented 4 months ago

I did Still same

BeChris100 commented 4 months ago

Did some research, and it seems like the issue might be related to the system or network settings rather than the script itself.

karthikkl13 commented 4 months ago

Oh Will retry it once more later

karthikkl13 commented 4 months ago

It works now.... I appreciate it man

karthikkl13 commented 4 months ago

Btw I saw all the commands Now, which all will work?

BeChris100 commented 4 months ago

Go through them, and you'll know.