Closed karthikkl13 closed 4 months ago
Can you provide everything, from setup to building it?
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...
Right, but something within the build scripts could have failed, which I asked for the logs that you see on the Terminal.
## 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
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.
Oh
Not in a bad way, but if I don't know the modifications that you have taken, then I can't help.
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.
I used Kali linux (2024.1 release) operating system on VMware
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.
Okay Will check I appreciate it !
Once the errors are fixed, you can close this issue.
I will check later and will tell you whether it's fixed or not
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.
This might be the configuration on the VM you have set up. Make sure that an active connection is established.
I did Still same
Did some research, and it seems like the issue might be related to the system or network settings rather than the script itself.
Oh Will retry it once more later
It works now.... I appreciate it man
Btw I saw all the commands Now, which all will work?
Go through them, and you'll know.
hey @BeChris100 can u tell me what the problem is??? ( btw i am new to this....)