I am trying to open a jar file I downloaded from here which is supposed to be an application that tests a sensorML code I wrote. I am expecting an application with an interface where I| would put my code and get some kind of output... I am unable to open the jar file. I tried the command window, I get could not find or load main class. I tried opening it with eclipse, I get some kind of library with a lot of errors. There is no documentation about this library or application so I am kind of lost on what to expect and how to get it... Anyone can help me open this file in a correct way?
Thanks
The only jar available near the URL you like isn't an executable jar. It is a library to write programs. To open it you can rename it as .zip and uncompress it.
You can also download the .tar.gz version of this library so you can get the full source with all comments.
Related
I wanted to learn OpenGl because I was just getting into c++ and I thought it would be cool to learn but now I'm stuck and I don't know what to do.
So basically I am not using the microsoft version of VScode, I am using your basic VScode application.
I install MinGw and added it to the path.
and i created a folder, in that file i created a main.cpp file and downloaded the source folder (source package) of gfwl from the main page
and I tried different ways of including it into my cpp file
i tried
the path of gfwl from the system
<GFWL/gfwl3.h>
the files directory to gfwl3.h
and none of them seem to work, I either get a "directory or file path invalid" or errors on it failing to import its functions like gfwlinit
how could i make this work?
Make sure to add it to the path and use a MakeFile to compile and to connect everything!
I am trying to run the
https://code.qt.io/cgit/qt/qtbase.git/tree/examples/opengl/cube?h=5.13
example. It builds fine, starts up, then gives the message
QOpenGLShader: Unable to open file ":/vshader.glsl"
QOpenGLShader: Unable to open file ":/fshader.glsl"
QOpenGLTexture::setData() tried to set a null image
The files are there, the .qrc file found (I think from the message),
What can be the problem? (the error message is not helpful in locating he reason) The files are there, readable (by the other applications),
already moved all files in the same subdirectory.
I just tried to run the example on Qt5.13 windows 10 MSVC2017 64 bit without a problem so there must be something else going on here.
the same example is already installed in Your Qt installation directory. Can you try it from there? Should work.
Do you have Read write rights? Are all files in the same folder as the pro file?
Can you open the qrc file in Qt Creator and see if you have missing links?
I'm new to Clion, switching form Visual Studio and I'm trying to impliment a program that reads in data from a .csv file. However, after I put the file in the directory it doesn't seem to recognize the file. Any resources? I can't find anything on jetBrain about this either.
Thanks.
Just like Konafets, I am not quite sure about what your exact problem is, but have you tried installing the CSV Plugin for CLion?
Go to File | Settings | Plugins, type 'csv' in the search bar, click 'Search in repositories' until you land on the install page.
I have setup eclipse as per this tutorial:
https://www.youtube.com/watch?v=KfKvDIrabUw
I have intalled java and GCC on my windows 10 laptop. It cannot build my c project, because I get the error "fatal error: stdio.h -std=gnu99: No such file or directory".
I assume this file exists on my computer somewhere, if not by default then with thte GCC that I downloaded and installed. I just need to find, in the hundreds of option menus, the place where I locate the directory. Maybe I'm blind but I can't find it, and if I do, where to I link it to? (Getting a little frustrated if you couldn't tell...)
Many many thanks,
Andy.
I solved it. If anyone else is experiencing this problem, open up the project explorer, right click on your project and open up the properties. Make sure Text file encoding and New text file line delimiter are both set to UTF-8.
It is now working.
I have built a program in NetBeans, it creates myprogram.jar file but also creates folder named lib which includes JavaMail's mail.jar file. So I want to send that program to my friend without having to send him lib folder and telling him to put them together. So is there any way I can add all that in single .jar file? Thanks.
So I found this kind of solution, which was wery easy to understand, doesn't include any other program than NetBeans and which worked excellent for me. Here is the link: http://javanepal.wordpress.com/2009/09/15/merging-jar-files-to-single-jar-via-ide-netbeans-6-7/
If i'm not mistaken you cannot add jar files to jars. What you can do is extract the contents of the jars you have (preserving the directory structure) and then jar the resulting directory hierarchy by follow the instructions on how to create jar files
Of course once you figure out the exact commands involved, you could create a batch file to do the work for you again.