Comments (6)
This will be available in release 17.0.0.2
which will take few minutes to get published.
from nb-javac-android.
First of all, the version of nb-javac was built with AndroidIDE
in mind. So it is different from the version that CodeAssist uses.
To get this javac working with your project, you have to generate a minimal JDK with only the classes from android.jar and then use it with this nb-javac-android. You can use androidide-jdk-transform
to generate such JDK images.
Apart from this, this nb-javac has names of classes from AndroidIDE hardcoded in it. For example, it uses the Environment
class to get the path to the transformed JDK image as seen here.
from nb-javac-android.
This is clearly not a bug. It is just how this nb-javac-android
is designed.
from nb-javac-android.
No issues, i didn't knew that earlier as it was published on maven.
from nb-javac-android.
Thanks! It's working now after creating the com.itsaky.androidide.utils.Environment file with a static field containing the system modules path. However, I think It'd be more convenient to set up if the class path is not hardcoded/is changeable
from nb-javac-android.
You can now configure nb-javac-android
to use a custom JAVA_HOME
without creating the Environment
class. Simply set the androidide.java.home
property with System.setProperty(String, String)
. Use the PROP_ANDROIDIDE_JAVA_HOME
field in JavacConfigProvider
See JavacConfigProvider
for more detail.
from nb-javac-android.
Related Issues (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 nb-javac-android.