We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to import a custom java script into an IJava notebook. Is it possible?
IJava
I'm trying to do it this way, but it doesn't seem to work. I'm new to "Java" so if I'm doing something wrong please correct me.
My working directory structure:
├── com │ └── example │ ├── MyClass.class │ └── MyClass.java └── Test.ipynb
Test.ipynb:
MyClass.class/MyClass.java:
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
just use %jars XXX.jar
%jars XXX.jar
@jimmybow: But what if you want to import a class that is not contained in a .jar file, as @KubaOfca's example suggests?
that's java...not python @@, so you need to compile your code MyClass.java to a jar library package file.
No branches or pull requests
I want to import a custom java script into an
IJava
notebook. Is it possible?I'm trying to do it this way, but it doesn't seem to work. I'm new to "Java" so if I'm doing something wrong please correct me.
My working directory structure:
Test.ipynb:
MyClass.class/MyClass.java:
The text was updated successfully, but these errors were encountered: