Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] HDF5 Question

Can you send me the output that you’re receiving now?

Alex

On Feb 10, 2015, at 9:56 PM, Claire Saunders <clairenicolesaunders@xxxxxxxxx<mailto:clairenicolesaunders@xxxxxxxxx>> wrote:

Hi Alex,

I checked my terminal and the settings in Eclipse, and I am still getting the same error no matter what I try. I can’t get it to build by specifying the DYLD in the environment of the run configuration. Is there anything else you can think of that I might be missing?

Also I apologize for the delayed replies, I’ve been traveling looking at grad schools.

Best,
Claire


On Feb 5, 2015, at 8:15 AM, McCaskey, Alex <mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>> wrote:

Could be. Are you using Java 1.6? If so, that’s why these tests are failing. We now require Java 1.7 with ICE, especially here because we are using the new java.nio package to handle files, which is only in 1.7. If you’re in the terminal, you may need to download an updated version of java for your mac. If you’re in Eclipse, it may already be bundled in. Check out Preferences > Java > Installed JREs.

Best,

Alex

On Feb 4, 2015, at 11:53 PM, Claire Saunders <clairenicolesaunders@xxxxxxxxx<mailto:clairenicolesaunders@xxxxxxxxx><mailto:clairenicolesaunders@xxxxxxxxx>> wrote:

Hi Alex,

I now have everything exported correctly, but I am getting an error when I try to build in the terminal. is it related to my JRE?

Thanks,
Claire

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:34 min
[INFO] Finished at: 2015-02-04T23:48:33-05:00
[INFO] Final Memory: 104M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.1:compile (default-compile) on project org.eclipse.ice.io: Compilation failure: Compilation failure:
[ERROR] /Users/claire/workspaces/workspace_ICE_BUILD/ice/src/org.eclipse.ice.io/src/org/eclipse/ice/io/ips/IPSWriter.java:[31,0]
[ERROR] import java.nio.file.Files;
[ERROR] ^^^^^^^^^^^^^
[ERROR] The import java.nio.file cannot be resolved
[ERROR] /Users/claire/workspaces/workspace_ICE_BUILD/ice/src/org.eclipse.ice.io/src/org/eclipse/ice/io/ips/IPSWriter.java:[185,0]
[ERROR] Files.copy(file.toPath(), tempFile.toPath());
[ERROR] ^^^^^
[ERROR] Files cannot be resolved
[ERROR] /Users/claire/workspaces/workspace_ICE_BUILD/ice/src/org.eclipse.ice.io/src/org/eclipse/ice/io/ips/IPSWriter.java:[185,0]
[ERROR] Files.copy(file.toPath(), tempFile.toPath());
[ERROR] ^^^^^^
[ERROR] The method toPath() is undefined for the type File
[ERROR] /Users/claire/workspaces/workspace_ICE_BUILD/ice/src/org.eclipse.ice.io/src/org/eclipse/ice/io/ips/IPSWriter.java:[185,0]
[ERROR] Files.copy(file.toPath(), tempFile.toPath());
[ERROR] ^^^^^^
[ERROR] The method toPath() is undefined for the type File
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]



On Feb 4, 2015, at 8:04 AM, McCaskey, Alex <mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx>> wrote:

Claire,

Did you run the following command:

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/path/to/hdf-java/lib

Or put that line in your ~/.bash_profile?

Also can you build from the terminal, not from Eclipse? Should be as simple as (noting that you must have ICETests/ in your home directory, which we’ll have to give you if you don't)

git clone https://github.com/eclipse/ice
git clone https://github.com/visit-vis/visit_java_client
svn co https://svn.code.sf.net/p/niceproject/code/trunk/src/org.eclipse.ice.dependencies
cd ice/org.eclipse.ice.build
mvn -N install
mvn clean install

Alex

On Feb 3, 2015, at 6:12 PM, Claire Saunders <clairenicolesaunders@xxxxxxxxx<mailto:clairenicolesaunders@xxxxxxxxx><mailto:clairenicolesaunders@xxxxxxxxx><mailto:clairenicolesaunders@xxxxxxxxx>> wrote:

Hi Alex,

Thank you for all your help already. I followed the instructions you sent. I am not positive that I exported the DYLD_LIBRARY_PATH correctly on my Mac, because I am still getting the build error. Is there something simple I can do to check? If it is not a simple fix, could we possibly set up a desktop share web chat at your earliest convenience?

Best,
Claire

Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx>
(865) 574-8715

Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx>
(865) 574-8715


Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>
(865) 574-8715





Back to the top