You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Peter Kovacs <le...@gmail.com> on 2017/01/02 10:18:29 UTC

java error:

Hello all,

I have another strange issue. How do I add a missing classpath to the 
config?

I think this is missing in my setup:

/usr/bin/javac -classpath 
".:../../../../../unxlngx6.pro/class:/usr/lib/jvm/java 
-8-openjdk/jre/lib/rt.jar:.:/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/bin/ridl.jar:/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/bin/unoloader.jar::/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/lib" 
-d ../../../../../unxlngx6.pro/class

@/tmp/mkoe5Mmp ServiceManager.java:26: error: package com.sun.star.uno 
does not existimport com.sun.star.uno.UnoRuntime;


All the best

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


adding pathes and maybe a Java option to a manifest file

Posted by Peter Kovacs <le...@gmail.com>.
Hello all,

Okay I made some thoughts. I do not know why I have this issue and I 
want to focus on a workaround first.

I thought that maybe I directly add the path to the Makefile file. My 
guess is that I can add path to

JAVAFILES=$(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java 
$(JAVACLASSFILES)))

or is another option in the file?

Also is it possible to add a compile option to the java compiler?

I would like to get rid of the following note:

Note: JNI_proxy.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

But have not seen any containers in the code.


Thanks for the help

All the best

Peter


On 02.01.2017 11:18, Peter Kovacs wrote:
> Hello all,
>
> I have another strange issue. How do I add a missing classpath to the 
> config?
>
> I think this is missing in my setup:
>
> /usr/bin/javac -classpath 
> ".:../../../../../unxlngx6.pro/class:/usr/lib/jvm/java 
> -8-openjdk/jre/lib/rt.jar:.:/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/bin/ridl.jar:/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/bin/unoloader.jar::/home/legine/workspace/openoffice/aoo/main/solver/414/unxlngx6.pro/lib" 
> -d ../../../../../unxlngx6.pro/class
>
> @/tmp/mkoe5Mmp ServiceManager.java:26: error: package com.sun.star.uno 
> does not existimport com.sun.star.uno.UnoRuntime;
>
>
> All the best
>
> Peter
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org