logic: handle java not found on windows and mac
* implemented java will not be used if it is not found on system * add jni libraries weak linked for Mac * use dlopen for lazy library loading * added java path to preferences
This commit is contained in:
@@ -20,7 +20,7 @@ public class JavaIndexer
|
||||
{
|
||||
public static void processFile(int address, String filePath, String fileContent, String classPath)
|
||||
{
|
||||
System.out.println("indexing file: " + filePath);
|
||||
// System.out.println("indexing file: " + filePath);
|
||||
|
||||
try
|
||||
{
|
||||
@@ -33,8 +33,8 @@ public class JavaIndexer
|
||||
{
|
||||
try
|
||||
{
|
||||
JarTypeSolver jarTypeSolver = new JarTypeSolver(path);
|
||||
typeSolver.add(jarTypeSolver);
|
||||
JarTypeSolver solver = new JarTypeSolver(path);
|
||||
typeSolver.add(solver);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user