[Logo] VUE Users Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Login] Login 
If this is your first visit to the new VUE forums, you can login using the same username and password you currently use on VUE's website. If you need an account, please create one through VUE's website. If you have problems, please contact us via the contact form on http://vue.tufts.edu
VUE and Eclipse  XML
Forum Index » Developers' Corner
Author Message
Mike Korcynski

[Avatar]

Joined: 08/08/2008 11:36:13
Messages: 749
Offline

Justian,

You do need to run "ant all" once from the command line to generate the Version.java file. I'm not sure why you're seeing so many errors, did u check the project properties->Java Build Path to make sure everything resolves? If you use skype we can screenshare for a few minutes and I can take a look.

-Mike
Justian Meyer


Joined: 06/22/2010 09:53:50
Messages: 9
Offline

Hey Mike,

Although I'm open to screen sharing, this is a company computer and I'm not too sure they'd approve of that. I'll restart the process and let you know how it goes. Maybe I screwed something up along the way.

Justian
Justian Meyer


Joined: 06/22/2010 09:53:50
Messages: 9
Offline

Hey Mike,

Not trying to double post, but an edit wouldn't show up on the thread list.

I figured out the issue with ant. Doing it through the menus, "vue" (program runner) was automatically selected as an option. When I selected "all" it placed it after "vue", meaning it was trying to run it before ever compiling.

I have a new issue. One that is oh so famous to the Eclipse world. It could be because I'm using Vista.

com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

I remember having no problems fixing this issue on XP, but I'll see what I can do to get rid of this in the meantime.

It looks like all checks out for the files. Once I get this pesky issue fixed, I'll let you know how it compiles.

Thanks,

Justian

EDIT:

Woohoo!

BUILD SUCCESSFUL
Total time: 1 minute 34 seconds

Looks like it's all fixed (hopefully).

Thanks!

This message was edited 1 time. Last update was at 06/24/2010 10:26:54

Mike Korcynski

[Avatar]

Joined: 08/08/2008 11:36:13
Messages: 749
Offline

Ant requires a JDK you're pointing it at JRE which does not include a compiler, download the JDK from Oracle(ugh) and point your JAVA_HOME env variable to it.

-Mike
Justian Meyer


Joined: 06/22/2010 09:53:50
Messages: 9
Offline

Hey Mike,

I know what the differences between the JRE and JDK are and I knew that that was the issue.

The issue was how to change the JAVA_HOME variable. With Eclipse, you have to add the JDK to "Installed JRE Files" or something like that. It's weird and I don't know why they don't make the issue clearer (changing JAVA_HOME does nothing and it's usually pointed to the right directory, anyways), but it always happens whenever I install Eclipse on a new machine.

The reason why I thought it was an issue with Vista is because I solved the issue differently on my home computer running XP. The method wasn't working on my work computer, so I assumed that it was an issue between java and the OS.

After making sure it was pointing to the JDK and not the JRE (why is that even the default?!?) I was able to successfully compile and run the program.

So all's well until I delve into the code a bit later. It looks like a lot to sort through (=/), but I'll start by taking a look at the package you mentioned in my previous thread.

Many thanks for the support,

Justian

This message was edited 4 times. Last update was at 06/24/2010 11:04:39

Mike Korcynski

[Avatar]

Joined: 08/08/2008 11:36:13
Messages: 749
Offline

Justian,

Apologies if it came off condescending I was just trying to quickly read and reply as I was in the middle of something else I should've paused to look at it more carefully. There is a lot of code to sort through but if you focus mostly on tufts.vue.* tufts.vue.action.* and edu.tufts.vue.* you can get pretty far.

Good luck,

-Mike
Justian Meyer


Joined: 06/22/2010 09:53:50
Messages: 9
Offline

Don't worry. I didn't take any offense. You don't know me. I can't expect you to get inside my head and know where my experience lies :)

I'll take a look at those. Hopefully they'll clear some things up.

Thanks!
navjot singh


Joined: 08/31/2010 14:46:01
Messages: 1
Offline

hi mike

I am having the same problem as Justin

I am trying to resolve the errors but it seems that in the SRC/org/osid only contains registry folder and other folders are missing

Is there something i am doing wrong. If so please let me know.

Regards
Navjot
Mike Korcynski

[Avatar]

Joined: 08/08/2008 11:36:13
Messages: 749
Offline

Here is my updated project and classpath file for eclipse, I think this will work for you.

-Mike
 Filename project-20100928.tar [Disk] Download
 Description
 Filesize 10 Kbytes
 Downloaded:  25 time(s)

Akshay Singhal


Joined: 06/07/2012 14:53:47
Messages: 1
Offline

Hey Mike,
I am working on the VUE project but whichever way I try to compile and run it. It gives me the error "main file not found".
I don't seem to get the way of running it.
I am running the version 3.1.2.
I am open to the screen sharing on teamviewer or skype whichever you want.
My email id is akshaysinghal311@gmail.com
My skype id is akshay31193.
Ping me whenever you are available as I need to do it ASAP.

Akshay Singhal
 
Forum Index » Developers' Corner
Go to:   
Powered by JForum 2.1.8 © JForum Team