Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm trying to use VS Code to write Java programs which are built Bazel. Most of vs code extensions don't know about Bazel. Therefore code complete works only for the .java files understand the same folder.
I came up.with this idea of generating Eclipse's .project and .classpath out of Bazel java_* targets. I manually created these files and code completion worked perfectly.
So now the question boils down to: how can I automatically generate .project and .classpath files in the same diretore of BUILD file?
Sounds like they already decided not support it: https://github.com/bazelbuild/bazel/issues/3376
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have an existing Java project and I open it in eclipse.
Now I add a new package in it, and I create java files and write code in the new package.
However, when I try to import class from other existing packages, I failed.
Why?
Almost no info but I think that I know what happens:
Must be that the previous project's code is not in a source folder, instead I think that it's on a normal folder...
Look at Project -> Properties -> Java Build Path -> Source
A parent folder(s) of yoursource code folder(s) must be there.
If whit so little info I've help you to fix your problem you owe me a pizza.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i've to modify a plugin for my minecraft server (yes, i'm allowed to do it).
The problem is that the files that i've to modify have .class extension and despite a found a way to see those files with jd-Gui, i did not found a way to edit them. Can you please explain me step by step how to do it?
p.s. I use MacOsX system.
Thanks to all of you.
It is not a good idea to edit .class files because of dependencies and relationship with other classes. Also because .class contains byte information and not recommended (not possible in many cases) to edit it manually. The file is generated when you compile your java file. So, find the java source file, compile it, and it will update the .class file.
Good luck.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am trying to convert a .class file to .java. I have only the .class file. I used jad, but I'm getting error as:
The class file version is 49.0( only 45.3, 46 and 47 are supported) JavaClassFileParseException.
How do I resolve this issue? Kindly provide your valuable inputs.
The Simple way to do is using: SeeMyCode
use Java Decompiler http://jd.benow.ca/ in it you can open jar, or .class and it will converted to java source.
It's because you care using a lower version of Java than the one that was used for compiling the class
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
What I have searched and trying to do is create and add files to a target project automatically from my program, any idea on how to do it? Because so far I can create files and change whatever is necessary but can't see a way to add those to my other project.
You should just be able to write it to the java project directory. If it looks like it didn't work, try pressing Right Click > Refresh on your java project in eclipse.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have created a java based project using Netbeans as an IDE. Now I want to obfuscate my project. How can this be done?
You need to use a source obfuscator.
I have used Zelix Klassmaster in the past and it is pretty good.
I have used RetroGuard and i was really happy with it. The thing I really liked was the ability to use it from my build file, so that I could deploy the project directly obfuscated.
Take a look at proguard - you can integrate it into ANT.