I hope it may help. I have the source of an old swing project using jxI.jar. Opening it in NB12, jxl.jar was not found. I take a copy of jxl.jar and put it in the folder project (not the source).
In Librairies - Properties, I removed jxl.jar and consequently the older link to it. Using Add JAR/Folder..., I selected the new location of jxl.jar (creating a new link) The project now finds the jxl file. All compiling errors are for Swing missing, not for jxl. Michel Giroux Le lun. 18 janv. 2021 à 09:50, Carl Mosca <carljmo...@gmail.com> a écrit : > Chris, > > Yes, please do let us know if you're using ant or maven if you're still > stuck after checking out David's suggestions. Personally, I would > recommend maven (or gradle). > > Also, as Gj referenced, if you've got a sample project in Github, > bitbucket, or somewhere that we can take a look, more specific help might > be offered. > > I created a project here https://github.com/carljmosca/jxl-demo with the > library (using the included demo code) but it seems a bit dated. I don't > do much with Office docs/spreadsheets > these days but I think the one that David recommended is current. > > After building it in NetBean, I ran it from the command line like this: java > -jar target/jxl-demo-1.0.jar -ps somefile.xls > > HTH, > Carl > > On Mon, Jan 18, 2021 at 8:54 AM David Gradwell <da...@gradwell.com> wrote: > >> Chris , >> >> >> >> If your project is a Maven project, look at >> https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6 (or >> better still follow the latest version link). >> >> >> >> If your project is an Ant project then find the jar and include it in the >> project libraries. For example, >> https://www.findjar.com/jar/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar.html >> also >> >> >> >> There is another Java to Excel api see >> https://poi.apache.org/components/spreadsheet/ that I have used >> successfully. >> >> >> >> DG >> >> >> >> *From: *Geertjan Wielenga <geertjan.wiele...@googlemail.com.INVALID> >> *Date: *Monday, 18 January 2021 at 12:52 >> *To: *"Christopher C. Lanz" <lan...@potsdam.edu> >> *Cc: *"users@netbeans.apache.org" <users@netbeans.apache.org> >> *Subject: *Re: using JExcel with Netbeans 12 running over Ubuntu 14.04 >> >> >> >> For example, I'd love to help, but I have no idea what "jxl library" is, >> where to find it, etc, I have no idea what kind of project you're talking >> about -- Ant-based? Maven-based? Gradle-based? I.e., you either need to >> provide a project on GitHub so someone can look at it or complete >> instructions so someone can help you. >> >> >> >> If no one helps, it means that you haven't provided the info needed for >> someone to help you. >> >> >> >> Gj >> >> >> >> On Mon, Jan 18, 2021 at 1:46 PM Geertjan Wielenga < >> geertjan.wiele...@googlemail.com> wrote: >> >> You'll get help when you provide step by step instructions or, even >> better, a sample project on GitHub. >> >> >> >> Gj >> >> >> >> On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz >> <lan...@potsdam.edu.invalid> wrote: >> >> Hello, >> >> >> >> One of our fellow correspondents has suggested that I repeat this >> question. I am following their advice. Please forgive me. >> >> >> >> I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I >> have followed the directions available online: >> >> - adding the jxl-2.6.jar file to the classpath >> - placing the jxl-2.6.jar file in the same directory as the source >> - placing it in a new folder called "+libs" >> - adding a new library containing it >> - importing the classes >> >> and yet NetBeans is still unable to find the classes in the library, >> saying "the jxl package does not exist". I haven't found any instructions >> specifically for Netbeans 12 on linux - please let me know if they exist. >> It is likely that I'm missing some step in the process, so please mention * >> all* the necessary steps after download/extract the zipped .jar file. >> >> >> >> >> >> Chris Lanz >> >> Department of Computer Science >> >> 340 Dunn Hall, SUNY Potsdam >> >> lan...@potsdam.edu >> >> 315 268 1547 >> >> >> >> >> >> >> >> > > -- > Carl J. Mosca >