Comments (15)
if you have root permission , it may work(worked for me ).
su
export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
from termux-java.
Try running it in a proot environment.
proot -0
from termux-java.
Using tsu and running java as root worked for me too.
I have a Samsung i9100 with LineageOS 14.
from termux-java.
Currently I have no idea what causes this..
from termux-java.
Ok thanks
from termux-java.
Try to run Java in Bash environment, not in Zsh.
from termux-java.
I think it has someting to do with LineageOS.
I get the same error on my Samsung i9100 with LineageOS, and on my huawei y550 with LineageOS as well. From the looks of it @JeelsBoobz runs LineageOS too, since he has android 9.
I would love to test this, but I can't find any android 5+ roms that aren't based on lineage/cm for these devices.
@JeelsBoobz Could you try running java on a stock rom to see if that works?
from termux-java.
@BomberX02 I use Resurrection Remix, which is a fork of Lineage and I don't have this problem. If it is Lineage related issue then it must be guys from RR have fixed something in their ROM. Maybe I'll flash Lineage too and check Java there.
from termux-java.
Maybe 😂
from termux-java.
Tested with another device Redmi Note 4 SD with stock MIUI arm64
Tested with Galaxy S5 ROM LineageOS arm, i have problem
from termux-java.
Ok, maybe this bug for armv7l only..
Because, tested with samsung device stockrom armv7l proccess killed 😪
I hope for arm can fixed 🤗
from termux-java.
Yeah this happens to me too now I can't run the bash command
I was trying to run nukkit on my
Gt 15882
from termux-java.
I confirm, on my Realme 6 Pro there is the same problem.
When you try to start the process, it is killed.
from termux-java.
On Xperia Z3 Compact same error. Stock ROM.
from termux-java.
if you have root permission , it may work(worked for me ).
su
export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
you can use tsu
pkg to instead of change env ( export PATH...)
just install it by:
pkg install tsu
also can use sudo
if you installed tsu
, just type tsudo
from termux-java.
Related Issues (20)
- Networking failure HOT 3
- It didn't work. HOT 1
- What does that mean ? HOT 2
- Android 11 termux java fixer HOT 5
- Error while installing HOT 2
- Bad system call HOT 1
- line 45: cd: /share: Not a directory
- Java
- "Bad system call" error HOT 1
- [1] 23205 invalid system call java -version HOT 2
- Not working HOT 1
- 6177 Bad system call
- Gradle not working
- libpthread.so.0: cannot open shared object file: No such file or directory HOT 4
- PaperMC Server not working! HOT 1
- Confused HOT 1
- ./gradlew build doesnt work HOT 1
- Segmentation fault
- --------‐-‐-----pkg install wget && wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava--------------------- HOT 1
- issue when trying to run it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termux-java.