Hi Ibrahim,

If you just try to compile with the javac do you at least see a "error:
package mpi..." does not exist?
Adding the "-verbose" option may also help with diagnosing the problem.

If the javac doesn't get that far then your problem is with the java
install.

Howard



2015-11-19 6:45 GMT-07:00 Ibrahim Ikhlawi <ibrahim_...@hotmail.com>:

>
> Hello,
>
> thank you for answering.
>
> the command mpijavac --verbose Hello.java gives me the same result as
> yours.
> JAVA_HOME ist right at me, but I don't have neither JAVA_BINDIR nor
> JAVA_ROOT.
> I think that the both variables don't cause the problem, because I was
> able to compile Hello.java before three days without any problem, but now I
> cann't.
>
> Ibrahim
>
>
> ------------------------------
> Date: Wed, 18 Nov 2015 20:16:31 -0700
> From: hpprit...@gmail.com
> To: us...@open-mpi.org
> Subject: Re: [OMPI users] mpijavac doesn't compile any thing
>
>
> Hello Ibrahim
>
> As a sanity check, could you try to compile the Hello.java in examples?
> mpijavac --verbose Hello.java
>
> you should see something like:
> /usr/bin/javac -cp
> /global/homes/h/hpp/ompi_install/lib/mpi.jar:/global/homes/h/hpp/ompi_install/lib/shmem.jar
> Hello.java
>
> You may also want to double check what your java env. variables, e.g.
> JAVA_HOME, JAVA_ROOT, and JAVA_BINDIR
> are set to.
> Howard
>
>
>
>
> ----------
>
> sent from my smart phonr so no good type.
>
> Howard
> On Nov 18, 2015 7:26 AM, "Ibrahim Ikhlawi" <ibrahim_...@hotmail.com>
> wrote:
>
>
>
> Hello,
>
> I am trying to compile java classes with mpijavac, but it doesn't compile
> any class, for examle:
> Usually when I write the following line (mpijavac MyClass.java) in the
> console, it compiles and gives me the possible errors (e.g. missed
> semicolon) and the .class file will be created.
>
> But now when I compile any class with the same command (mpijavac
> AnyClass.java), it doesn't give me any error and the file AnyClass.class
> will be not created.
>
> What could be the problem?
>
> Thanks in advance
> Ibrahim
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/11/28047.php
>
>
> _______________________________________________ users mailing list
> us...@open-mpi.org Subscription:
> http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/11/28049.php
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/11/28057.php
>

Reply via email to